#210402#210402

#210402 is a very dark, muted red. Relative luminance 0.004; OKLCH L 16.7% C 0.053 H 30.9°. Best body text is #FFFFFF at 19.39:1 contrast (WCAG AA passes).

Color values

HEX#210402
RGBrgb(33, 4, 2)
HSLhsl(4, 89%, 7%)
HSVhsv(4, 94%, 13%)
CMYKcmyk(0%, 87.9%, 93.9%, 87.1%)
CIE-LABlab(3.75, 11.78, 5.01)
CIE-LCHlch(3.75, 12.80, 23.02°)
OKLaboklab(16.68% 0.0458 0.0274)
OKLCHoklch(16.68% 0.053 30.9)
XYZxyz(0.6817, 0.4147, 0.1016)
Luminance0.0042 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#210402 #021F21
analogous
#210210 #210402 #211402
triadic
#210402 #022104 #040221
tetradic
#210402 #102102 #021F21 #140221
square
#210402 #102102 #021F21 #140221
split-complementary
#210402 #022114 #021021
monochromatic
#1D0302 #1D0302 #210402 #5B0B05 #941209

Accessibility & contrast

On white

19.39
#210402 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#210402 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #210402
19.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##210402#FFFFFF#000000##FFFFFF
##2104021.0019.391.0819.39
#FFFFFF19.391.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B0902
Deuteranopia (green-blind)
#131002
Tritanopia (blue-blind)
#250004
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #210402;
/* rgb */ color: rgb(33, 4, 2);
/* oklch */ color: oklch(16.7% 0.053 30.9);
Tailwind
colors: {
  custom: {
    50: '#5c4848',
    500: '#210402',
    950: '#000000',
  },
}
SCSS
$custom: #210402;
$custom-light: #5c4848;
$custom-dark: #000000;
JSON
{
  "hex": "#210402",
  "rgb": {
    "r": 33,
    "g": 4,
    "b": 2
  },
  "hsl": {
    "h": 3.871,
    "s": 88.571,
    "l": 6.863
  },
  "oklch": {
    "l": 0.16682,
    "c": 0.05331,
    "h": 30.9
  },
  "luminance": 0.00415
}

Semantic roles & 50–950 ramp

primary
#210402
secondary
#186267
accent
#F1FF29
background
#F5F4F4
surface
#E9E6E6
border
#C5C2C2
text
#040000
muted
#797777

Preview Lab

Preview with #210402

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

Preview Lab → · Contrast checker → · Palette generator →

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