#230217#230217

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

Color values

HEX#230217
RGBrgb(35, 2, 23)
HSLhsl(322, 89%, 7%)
HSVhsv(322, 94%, 14%)
CMYKcmyk(0%, 94.3%, 34.3%, 86.3%)
CIE-LABlab(4.18, 17.59, -5.01)
CIE-LCHlch(4.18, 18.29, 344.11°)
OKLaboklab(17.55% 0.0646 -0.0171)
OKLCHoklch(17.55% 0.067 345.2)
XYZxyz(0.8695, 0.4627, 0.8540)
Luminance0.0046 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230217 #02230E
analogous
#1F0223 #230217 #230207
triadic
#230217 #172302 #021723
tetradic
#230217 #231F02 #02230E #020723
square
#230217 #231F02 #02230E #020723
split-complementary
#230217 #072302 #02231F
monochromatic
#1D0213 #1D0213 #230217 #5D053D #970963

Accessibility & contrast

On white

19.22
#230217 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #230217
19.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230217#FFFFFF#000000##FFFFFF
##2302171.0019.221.0919.22
#FFFFFF19.221.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#050B18
Deuteranopia (green-blind)
#0F1116
Tritanopia (blue-blind)
#26020A
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #230217;
/* rgb */ color: rgb(35, 2, 23);
/* oklch */ color: oklch(17.6% 0.067 345.2);
Tailwind
colors: {
  custom: {
    50: '#5e4753',
    500: '#230217',
    950: '#000000',
  },
}
SCSS
$custom: #230217;
$custom-light: #5e4753;
$custom-dark: #000000;
JSON
{
  "hex": "#230217",
  "rgb": {
    "r": 35,
    "g": 2,
    "b": 23
  },
  "hsl": {
    "h": 321.818,
    "s": 89.189,
    "l": 7.255
  },
  "oklch": {
    "l": 0.17552,
    "c": 0.06678,
    "h": 345.2
  },
  "luminance": 0.00463
}

Semantic roles & 50–950 ramp

primary
#230217
secondary
#186935
accent
#FF7729
background
#F5F4F4
surface
#E9E6E7
border
#C5C2C3
text
#040002
muted
#797778

Preview Lab

Preview with #230217

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

Preview Lab → · Contrast checker → · Palette generator →

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