#23040C#23040C

#23040C is a very dark, muted pink. Relative luminance 0.005; OKLCH L 17.5% C 0.055 H 7.4°. Best body text is #FFFFFF at 19.19:1 contrast (WCAG AA passes).

Color values

HEX#23040C
RGBrgb(35, 4, 12)
HSLhsl(345, 79%, 8%)
HSVhsv(345, 89%, 14%)
CMYKcmyk(0%, 88.6%, 65.7%, 86.3%)
CIE-LABlab(4.25, 14.56, 1.66)
CIE-LCHlch(4.25, 14.66, 6.52°)
OKLaboklab(17.47% 0.0549 0.0071)
OKLCHoklch(17.47% 0.055 7.4)
XYZxyz(0.8030, 0.4708, 0.3963)
Luminance0.0047 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23040C #04231B
analogous
#23041B #23040C #230B04
triadic
#23040C #0C2304 #040C23
tetradic
#23040C #1B2304 #04231B #0B0423
square
#23040C #1B2304 #04231B #0B0423
split-complementary
#23040C #04230B #041B23
monochromatic
#1B0309 #1B0309 #23040C #5A0A1F #911132

Accessibility & contrast

On white

19.19
#23040C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#23040C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23040C
19.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23040C#FFFFFF#000000##FFFFFF
##23040C1.0019.191.0919.19
#FFFFFF19.191.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A0B0C
Deuteranopia (green-blind)
#13110B
Tritanopia (blue-blind)
#270107
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #23040c;
/* rgb */ color: rgb(35, 4, 12);
/* oklch */ color: oklch(17.5% 0.055 7.4);
Tailwind
colors: {
  custom: {
    50: '#5e484c',
    500: '#23040c',
    950: '#000000',
  },
}
SCSS
$custom: #23040c;
$custom-light: #5e484c;
$custom-dark: #000000;
JSON
{
  "hex": "#23040c",
  "rgb": {
    "r": 35,
    "g": 4,
    "b": 12
  },
  "hsl": {
    "h": 344.516,
    "s": 79.487,
    "l": 7.647
  },
  "oklch": {
    "l": 0.17474,
    "c": 0.05539,
    "h": 7.4
  },
  "luminance": 0.00471
}

Semantic roles & 50–950 ramp

primary
#23040C
secondary
#1D6653
accent
#F6C332
background
#F5F4F4
surface
#E9E6E7
border
#C5C2C3
text
#040001
muted
#797777

Preview Lab

Preview with #23040C

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

Preview Lab → · Contrast checker → · Palette generator →

#23040C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva