#5F0C23#5F0C23

#5F0C23 is a dark, moderate pink. Relative luminance 0.028; OKLCH L 31.9% C 0.115 H 11.7°. Best body text is #FFFFFF at 13.43:1 contrast (WCAG AA passes).

Color values

HEX#5F0C23
RGBrgb(95, 12, 35)
HSLhsl(343, 78%, 21%)
HSVhsv(343, 87%, 37%)
CMYKcmyk(0%, 87.4%, 63.2%, 62.7%)
CIE-LABlab(19.30, 37.11, 9.33)
CIE-LCHlch(19.30, 38.26, 14.12°)
OKLaboklab(31.9% 0.1122 0.0232)
OKLCHoklch(31.9% 0.115 11.7)
XYZxyz(5.1547, 2.8180, 1.8623)
Luminance0.0282 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F0C23 #0C5F48
analogous
#5F0C4C #5F0C23 #5F1E0C
triadic
#5F0C23 #235F0C #0C235F
tetradic
#5F0C23 #4C5F0C #0C5F48 #1E0C5F
square
#5F0C23 #4C5F0C #0C5F48 #1E0C5F
split-complementary
#5F0C23 #0C5F1E #0C4C5F
monochromatic
#1B030A #29050F #5F0C23 #951337 #CC1A4B

Accessibility & contrast

On white

13.43
#5F0C23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#5F0C23 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F0C23
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F0C23#FFFFFF#000000##FFFFFF
##5F0C231.0013.431.5613.43
#FFFFFF13.431.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242423
Deuteranopia (green-blind)
#393521
Tritanopia (blue-blind)
#690016
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5f0c23;
/* rgb */ color: rgb(95, 12, 35);
/* oklch */ color: oklch(31.9% 0.115 11.7);
Tailwind
colors: {
  custom: {
    50: '#92565d',
    500: '#5f0c23',
    950: '#000000',
  },
}
SCSS
$custom: #5f0c23;
$custom-light: #92565d;
$custom-dark: #000000;
JSON
{
  "hex": "#5f0c23",
  "rgb": {
    "r": 95,
    "g": 12,
    "b": 35
  },
  "hsl": {
    "h": 343.373,
    "s": 77.57,
    "l": 20.98
  },
  "oklch": {
    "l": 0.31898,
    "c": 0.11452,
    "h": 11.7
  },
  "luminance": 0.02817
}

Semantic roles & 50–950 ramp

primary
#5F0C23
secondary
#2D997B
accent
#F4BF34
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0304
muted
#7E7879

Preview Lab

Preview with #5F0C23

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

Preview Lab → · Contrast checker → · Palette generator →

#5F0C23 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva