#230212#230212

#230212 is a very dark, moderate pink. Relative luminance 0.004; OKLCH L 17.3% C 0.063 H 353.7°. Best body text is #FFFFFF at 19.29:1 contrast (WCAG AA passes).

Color values

HEX#230212
RGBrgb(35, 2, 18)
HSLhsl(331, 89%, 7%)
HSVhsv(331, 94%, 14%)
CMYKcmyk(0%, 94.3%, 48.6%, 86.3%)
CIE-LABlab(4.02, 16.45, -1.87)
CIE-LCHlch(4.02, 16.56, 353.52°)
OKLaboklab(17.28% 0.0631 -0.0069)
OKLCHoklch(17.28% 0.063 353.7)
XYZxyz(0.8241, 0.4445, 0.6146)
Luminance0.0044 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230212 #022313
analogous
#230223 #230212 #230302
triadic
#230212 #122302 #021223
tetradic
#230212 #232302 #022313 #030223
square
#230212 #232302 #022313 #030223
split-complementary
#230212 #022303 #022323
monochromatic
#1D020F #1D020F #230212 #5D0530 #97094E

Accessibility & contrast

On white

19.29
#230212 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #230212
19.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230212#FFFFFF#000000##FFFFFF
##2302121.0019.291.0919.29
#FFFFFF19.291.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#060A12
Deuteranopia (green-blind)
#101111
Tritanopia (blue-blind)
#270008
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #230212;
/* rgb */ color: rgb(35, 2, 18);
/* oklch */ color: oklch(17.3% 0.063 353.7);
Tailwind
colors: {
  custom: {
    50: '#5e4750',
    500: '#230212',
    950: '#000000',
  },
}
SCSS
$custom: #230212;
$custom-light: #5e4750;
$custom-dark: #000000;
JSON
{
  "hex": "#230212",
  "rgb": {
    "r": 35,
    "g": 2,
    "b": 18
  },
  "hsl": {
    "h": 330.909,
    "s": 89.189,
    "l": 7.255
  },
  "oklch": {
    "l": 0.17282,
    "c": 0.06344,
    "h": 353.7
  },
  "luminance": 0.00444
}

Semantic roles & 50–950 ramp

primary
#230212
secondary
#186942
accent
#FF9729
background
#F5F4F4
surface
#E9E6E7
border
#C5C2C3
text
#040002
muted
#797778

Preview Lab

Preview with #230212

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

Preview Lab → · Contrast checker → · Palette generator →

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