#240211#240211

#240211 is a very dark, moderate pink. Relative luminance 0.005; OKLCH L 17.5% C 0.064 H 356.5°. Best body text is #FFFFFF at 19.23:1 contrast (WCAG AA passes).

Color values

HEX#240211
RGBrgb(36, 2, 17)
HSLhsl(334, 89%, 7%)
HSVhsv(334, 94%, 14%)
CMYKcmyk(0%, 94.4%, 52.8%, 85.9%)
CIE-LABlab(4.15, 16.96, -1.06)
CIE-LCHlch(4.15, 17.00, 356.42°)
OKLaboklab(17.46% 0.0637 -0.0039)
OKLCHoklch(17.46% 0.064 356.5)
XYZxyz(0.8505, 0.4591, 0.5740)
Luminance0.0046 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#240211 #022415
analogous
#240222 #240211 #240402
triadic
#240211 #112402 #021124
tetradic
#240211 #222402 #022415 #040224
square
#240211 #222402 #022415 #040224
split-complementary
#240211 #022404 #022224
monochromatic
#1D020E #1D020E #240211 #5E052C #980848

Accessibility & contrast

On white

19.23
#240211 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#240211 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #240211
19.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##240211#FFFFFF#000000##FFFFFF
##2402111.0019.231.0919.23
#FFFFFF19.231.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#070A11
Deuteranopia (green-blind)
#111110
Tritanopia (blue-blind)
#280007
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #240211;
/* rgb */ color: rgb(36, 2, 17);
/* oklch */ color: oklch(17.5% 0.064 356.5);
Tailwind
colors: {
  custom: {
    50: '#5f474f',
    500: '#240211',
    950: '#000000',
  },
}
SCSS
$custom: #240211;
$custom-light: #5f474f;
$custom-dark: #000000;
JSON
{
  "hex": "#240211",
  "rgb": {
    "r": 36,
    "g": 2,
    "b": 17
  },
  "hsl": {
    "h": 333.529,
    "s": 89.474,
    "l": 7.451
  },
  "oklch": {
    "l": 0.17462,
    "c": 0.06385,
    "h": 356.5
  },
  "luminance": 0.00459
}

Semantic roles & 50–950 ramp

primary
#240211
secondary
#186A46
accent
#FFA029
background
#F5F4F4
surface
#E9E6E7
border
#C5C2C3
text
#050001
muted
#797777

Preview Lab

Preview with #240211

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#240211 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva