#240213#240213

#240213 is a very dark, moderate pink. Relative luminance 0.005; OKLCH L 17.6% C 0.065 H 353.0°. Best body text is #FFFFFF at 19.21:1 contrast (WCAG AA passes).

Color values

HEX#240213
RGBrgb(36, 2, 19)
HSLhsl(330, 89%, 7%)
HSVhsv(330, 94%, 14%)
CMYKcmyk(0%, 94.4%, 47.2%, 85.9%)
CIE-LABlab(4.21, 17.37, -2.19)
CIE-LCHlch(4.21, 17.51, 352.81°)
OKLaboklab(17.56% 0.0645 -0.0079)
OKLCHoklch(17.56% 0.065 353)
XYZxyz(0.8669, 0.4656, 0.6602)
Luminance0.0047 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#240213 #022413
analogous
#240224 #240213 #240202
triadic
#240213 #132402 #021324
tetradic
#240213 #242402 #022413 #020224
square
#240213 #242402 #022413 #020224
split-complementary
#240213 #022402 #022424
monochromatic
#1D020F #1D020F #240213 #5E0532 #980850

Accessibility & contrast

On white

19.21
#240213 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #240213
19.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##240213#FFFFFF#000000##FFFFFF
##2402131.0019.211.0919.21
#FFFFFF19.211.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#070A14
Deuteranopia (green-blind)
#111112
Tritanopia (blue-blind)
#280008
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #240213;
/* rgb */ color: rgb(36, 2, 19);
/* oklch */ color: oklch(17.6% 0.065 353.0);
Tailwind
colors: {
  custom: {
    50: '#5f4750',
    500: '#240213',
    950: '#000000',
  },
}
SCSS
$custom: #240213;
$custom-light: #5f4750;
$custom-dark: #000000;
JSON
{
  "hex": "#240213",
  "rgb": {
    "r": 36,
    "g": 2,
    "b": 19
  },
  "hsl": {
    "h": 330,
    "s": 89.474,
    "l": 7.451
  },
  "oklch": {
    "l": 0.17559,
    "c": 0.06496,
    "h": 353
  },
  "luminance": 0.00466
}

Semantic roles & 50–950 ramp

primary
#240213
secondary
#186A41
accent
#FF9429
background
#F5F4F4
surface
#E9E6E7
border
#C5C2C3
text
#050002
muted
#797778

Preview Lab

Preview with #240213

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

Preview Lab → · Contrast checker → · Palette generator →

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