#230402#230402

#230402 is a very dark, muted red. Relative luminance 0.004; OKLCH L 17.1% C 0.056 H 30.7°. Best body text is #FFFFFF at 19.27:1 contrast (WCAG AA passes).

Color values

HEX#230402
RGBrgb(35, 4, 2)
HSLhsl(4, 89%, 7%)
HSVhsv(4, 94%, 14%)
CMYKcmyk(0%, 88.6%, 94.3%, 86.3%)
CIE-LABlab(4.05, 13.15, 5.49)
CIE-LCHlch(4.05, 14.25, 22.66°)
OKLaboklab(17.14% 0.0482 0.0286)
OKLCHoklch(17.14% 0.056 30.7)
XYZxyz(0.7476, 0.4487, 0.1047)
Luminance0.0045 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230402 #022123
analogous
#230211 #230402 #231502
triadic
#230402 #022304 #040223
tetradic
#230402 #112302 #022123 #150223
square
#230402 #112302 #022123 #150223
split-complementary
#230402 #022315 #021123
monochromatic
#1D0302 #1D0302 #230402 #5D0B05 #971109

Accessibility & contrast

On white

19.27
#230402 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #230402
19.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230402#FFFFFF#000000##FFFFFF
##2304021.0019.271.0919.27
#FFFFFF19.271.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C0A02
Deuteranopia (green-blind)
#141101
Tritanopia (blue-blind)
#280004
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #230402;
/* rgb */ color: rgb(35, 4, 2);
/* oklch */ color: oklch(17.1% 0.056 30.7);
Tailwind
colors: {
  custom: {
    50: '#5e4848',
    500: '#230402',
    950: '#000000',
  },
}
SCSS
$custom: #230402;
$custom-light: #5e4848;
$custom-dark: #000000;
JSON
{
  "hex": "#230402",
  "rgb": {
    "r": 35,
    "g": 4,
    "b": 2
  },
  "hsl": {
    "h": 3.636,
    "s": 89.189,
    "l": 7.255
  },
  "oklch": {
    "l": 0.17143,
    "c": 0.05603,
    "h": 30.7
  },
  "luminance": 0.00449
}

Semantic roles & 50–950 ramp

primary
#230402
secondary
#186469
accent
#F2FF29
background
#F5F4F4
surface
#E9E6E6
border
#C5C2C2
text
#040000
muted
#797777

Preview Lab

Preview with #230402

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

Preview Lab → · Contrast checker → · Palette generator →

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