#5F0C22#5F0C22

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

Color values

HEX#5F0C22
RGBrgb(95, 12, 34)
HSLhsl(344, 78%, 21%)
HSVhsv(344, 87%, 37%)
CMYKcmyk(0%, 87.4%, 64.2%, 62.7%)
CIE-LABlab(19.28, 37.03, 10.01)
CIE-LCHlch(19.28, 38.36, 15.13°)
OKLaboklab(31.87% 0.1117 0.0247)
OKLCHoklch(31.87% 0.114 12.5)
XYZxyz(5.1401, 2.8121, 1.7852)
Luminance0.0281 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F0C22 #0C5F49
analogous
#5F0C4B #5F0C22 #5F1F0C
triadic
#5F0C22 #225F0C #0C225F
tetradic
#5F0C22 #4B5F0C #0C5F49 #1F0C5F
square
#5F0C22 #4B5F0C #0C5F49 #1F0C5F
split-complementary
#5F0C22 #0C5F1F #0C4B5F
monochromatic
#1B030A #29050F #5F0C22 #951335 #CC1A49

Accessibility & contrast

On white

13.44
#5F0C22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F0C22
13.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F0C22#FFFFFF#000000##FFFFFF
##5F0C221.0013.441.5613.44
#FFFFFF13.441.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5f0c22;
/* rgb */ color: rgb(95, 12, 34);
/* oklch */ color: oklch(31.9% 0.114 12.5);
Tailwind
colors: {
  custom: {
    50: '#92565c',
    500: '#5f0c22',
    950: '#000000',
  },
}
SCSS
$custom: #5f0c22;
$custom-light: #92565c;
$custom-dark: #000000;
JSON
{
  "hex": "#5f0c22",
  "rgb": {
    "r": 95,
    "g": 12,
    "b": 34
  },
  "hsl": {
    "h": 344.096,
    "s": 77.57,
    "l": 20.98
  },
  "oklch": {
    "l": 0.31872,
    "c": 0.11441,
    "h": 12.5
  },
  "luminance": 0.02811
}

Semantic roles & 50–950 ramp

primary
#5F0C22
secondary
#2D997D
accent
#F4C134
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0304
muted
#7E7879

Preview Lab

Preview with #5F0C22

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

Preview Lab → · Contrast checker → · Palette generator →

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