#23151F#23151F

#23151F is a very dark, muted pink. Relative luminance 0.010; OKLCH L 21.9% C 0.029 H 337.5°. Best body text is #FFFFFF at 17.52:1 contrast (WCAG AA passes).

Color values

HEX#23151F
RGBrgb(35, 21, 31)
HSLhsl(317, 25%, 11%)
HSVhsv(317, 40%, 14%)
CMYKcmyk(0%, 40%, 11.4%, 86.3%)
CIE-LABlab(8.93, 9.25, -4.14)
CIE-LCHlch(8.93, 10.13, 335.89°)
OKLaboklab(21.85% 0.0267 -0.011)
OKLCHoklch(21.85% 0.029 337.5)
XYZxyz(1.2086, 0.9926, 1.4240)
Luminance0.0099 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23151F #152319
analogous
#201523 #23151F #231518
triadic
#23151F #1F2315 #151F23
tetradic
#23151F #232015 #152319 #151823
square
#23151F #232015 #152319 #151823
split-complementary
#23151F #182315 #152320
monochromatic
#130B11 #130B11 #23151F #492C41 #6F4363

Accessibility & contrast

On white

17.52
#23151F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#23151F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23151F
17.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23151F#FFFFFF#000000##FFFFFF
##23151F1.0017.521.2017.52
#FFFFFF17.521.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15181F
Deuteranopia (green-blind)
#191A1F
Tritanopia (blue-blind)
#251519
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #23151f;
/* rgb */ color: rgb(35, 21, 31);
/* oklch */ color: oklch(21.9% 0.029 337.5);
Tailwind
colors: {
  custom: {
    50: '#5e525a',
    500: '#23151f',
    950: '#000000',
  },
}
SCSS
$custom: #23151f;
$custom-light: #5e525a;
$custom-dark: #000000;
JSON
{
  "hex": "#23151f",
  "rgb": {
    "r": 35,
    "g": 21,
    "b": 31
  },
  "hsl": {
    "h": 317.143,
    "s": 25,
    "l": 10.98
  },
  "oklch": {
    "l": 0.21854,
    "c": 0.02886,
    "h": 337.5
  },
  "luminance": 0.00993
}

Semantic roles & 50–950 ramp

primary
#23151F
secondary
#3D5744
accent
#C18066
background
#F5F4F5
surface
#E9E7E9
border
#C5C3C5
text
#040203
muted
#797878

Preview Lab

Preview with #23151F

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

Preview Lab → · Contrast checker → · Palette generator →

#23151F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva