Photo in the color Dark jungle green
Pictured: Dark jungle green, the closest color we have a photo of (#1A2421)
rgb(30, 39, 44)
#1E272C

Black Pearl #1E272C RGB Color Code

Name from the community color list.

Black Pearl (#1E272C) is a dark neutral gray. In RGB it is made of 12% red, 15% green and 17% blue (R 30, G 39, B 44). The blue channel is the strongest. In HSL it has a hue of 201°, 19% saturation and 15% lightness. Its relative luminance is 0.019, so white text is easier to read on top of it. For print, a rough CMYK match is 32% cyan, 11% magenta, 0% yellow and 83% black. Check it against your printer's ICC profile before you print. It is a neutral color. It goes well with warm oranges and reds for contrast. For a calm, matching look, use nearby cool tones.

Open in color picker

Black Pearl color codes

#1E272C in every common color format. Click a value to copy it.

FormatValueNotesCopy
HEX #1E272C Valid CSS
RGB rgb(30, 39, 44) Valid CSS
HSL hsl(201, 19%, 15%) Valid CSS
HSV / HSB hsv(201, 32%, 17%) Not a CSS format
HWB hwb(201 12% 83%) Valid CSS
CMYK cmyk(32%, 11%, 0%, 83%) Approximate (no ICC profile)
OKLCH oklch(26.63% 0.0158 232.46) Valid CSS
OKLab oklab(26.63% -0.0096 -0.0125) Valid CSS
CIELAB lab(14.93% -2.99 -4.68) D50, as in CSS
CIELCH lch(14.93% 5.56 237.41) Valid CSS
Display P3 color(display-p3 0.1246 0.1519 0.1704) Valid CSS
XYZ (D65) color(xyz-d65 0.0172 0.0191 0.0266) Valid CSS
Decimal 1976108 Integer (0xRRGGBB)

CMYK here is a rough screen match without an ICC profile. See CMYK and print. Relative luminance: 0.0191. Nearest web-safe color: #333333.

Mix Black Pearl with other colors

See what #1E272C makes with red paint, under a green light, printed with cyan ink and in a digital blend with blue. Click a picture to change the colors and amounts in the color mixer.

Use Black Pearl in your code

Ready to paste into CSS, Sass, Tailwind, iOS, Android and Flutter. Click the icon to copy a line.

WhereCodeCopy
CSS variable--black-pearl: #1E272C;
Sass variable$black-pearl: #1E272C;
Tailwind CSS v4@theme { --color-black-pearl: #1E272C; }
Tailwind CSS v3 configcolors: { 'black-pearl': '#1E272C' }
SwiftUIColor(red: 0.118, green: 0.153, blue: 0.173)
UIKitUIColor(red: 0.118, green: 0.153, blue: 0.173, alpha: 1)
Android XML<color name="black_pearl">#FF1E272C</color>
Flutter and Jetpack ComposeColor(0xFF1E272C)

Accessibility and contrast

White text works best on #1E272C (15.20:1, AAA). Here is how #1E272C does as a text color:

Large heading text
Body text at 16px. The quick brown fox jumps over the lazy dog.
15.20:1 on white
APCA Lc 102
AAA
Large heading text
Body text at 16px. The quick brown fox jumps over the lazy dog.
1.38:1 on black
APCA Lc 0
Fails AATry #6B767C

Check this color against any background in the contrast checker. WCAG ratios and APCA Lc values measure different things, so one can't stand in for the other. Learn more.

How people with color blindness see Black Pearl

#1E272C next to its complement and its two triadic colors, as seen with each type of color blindness.

  • Normal visionhow most people see it
  • Protanopiano red cones, about 1% of men
  • Deuteranopiano green cones, the most common type
  • Tritanopiano blue cones, very rare
  • Achromatopsiano color at all, very rare

#1E272C has almost no hue, so it looks much the same with every type of color blindness. Only its lightness counts. Try your own colors in the color blindness simulator.

About the color Black Pearl

A pearly crayon

Black Pearl is one of the colors in Crayola's 24-count box of Pearl Crayons from 2019. The Wikipedia list of Crayola colors shows it as a flat charcoal gray, #3A3A3A. A screen color can't show the pearly shine of the wax.

This code has no clear source

The code here, #1E272C, is darker and a little blue. It comes from an open online name list, and we could not trace where it started. Name That Color, another free list, uses #041322 for Black Pearl, which is almost navy. For a similar dark blue gray, look at gunmetal.

Black Pearl in a user interface

A sample app screen with #1E272C as the main color, on a light and a dark theme.

Light theme

Dark theme

Buttons and bars use #1E272C as it is. On the dark theme, #1E272C is too hard to read as text (1.17:1), so links, the badge and outline text use #778288 there (4.51:1). Build a full color scheme around it in the UI color preview.

Color harmonies for Black Pearl

These schemes turn the hue of #1E272C around the color wheel. Each swatch links to its own page.

Complementary

Two colors on opposite sides of the wheel. This gives the most contrast.

Open palette

Analogous

Hues that sit next to each other and look good together.

Open palette

Triadic

Three hues spaced evenly around the wheel. Bold, but still balanced.

Open palette

Split complementary

A base color plus the two hues on each side of its opposite. Strong contrast that clashes less.

Open palette

Tetradic (rectangle)

Two pairs of opposite colors. Let one color lead and use the others less.

Open palette

Square

Four hues 90° apart, spread evenly around the wheel.

Open palette

Monochromatic

One hue at different levels of lightness and saturation.

Open palette

Gradients with Black Pearl

Four CSS gradients made from #1E272C. Copy the code, or open one in the gradient generator to change it.

Soft tint

From a pale tint to the full color.

background: linear-gradient(90deg, #CDCFD0, #1E272C);

Edit in the gradient generator

Deep shade

The color fading into a dark shade.

background: linear-gradient(180deg, #1E272C, #030405);

Edit in the gradient generator

Analogous

Its two neighbors on the color wheel.

background: linear-gradient(135deg, #1E2C2A, #1E272C, #1E202C);

Edit in the gradient generator

Triadic

A bold blend with a triadic color, through a clean middle.

background: linear-gradient(135deg, #1E272C, #262329, #2C1E27);

Edit in the gradient generator

Shades, tints and tones of Black Pearl

Shades are darker, tints are lighter and tones are grayer. We make them in OKLCH so the steps look even. Hover a step to see its code, or click it to open it.

Design system scale (50 to 950)

Black Pearl sits at step 950. Export the full scale as CSS variables or Tailwind tokens from the picker.

  1. 50
    F3F7FA
  2. 100
    E8EEF1
  3. 200
    D5DCE0
  4. 300
    B9C3C8
  5. 400
    9AA5AB
  6. 500
    7D888E
  7. 600
    636E73
  8. 700
    4E575C
  9. 800
    3C4448
  10. 900
    2C3135
  11. 950
    1E272C

Closest RAL, Tailwind and CSS colors

The nearest match to #1E272C in three color systems that designers and builders use.

ΔE is the distance in OKLab: under 2 is hard to see, over 10 is a clearly different color. Browse all RAL colors, the Tailwind palette or the 148 CSS color names. RAL values on screens are only a guide, so check a real color chart before you order paint.

The named colors that look closest to this one (ΔE in OKLab). Browse all shades of gray or search the color library.