#5F0E2B#5F0E2B

#5F0E2B is a dark, moderate pink. Relative luminance 0.029; OKLCH L 32.3% C 0.114 H 5.6°. Best body text is #FFFFFF at 13.26:1 contrast (WCAG AA passes).

Color values

HEX#5F0E2B
RGBrgb(95, 14, 43)
HSLhsl(339, 74%, 21%)
HSVhsv(339, 85%, 37%)
CMYKcmyk(0%, 85.3%, 54.7%, 62.7%)
CIE-LABlab(19.73, 37.17, 4.24)
CIE-LCHlch(19.73, 37.41, 6.50°)
OKLaboklab(32.29% 0.1137 0.0111)
OKLCHoklch(32.29% 0.114 5.6)
XYZxyz(5.3129, 2.9221, 2.5693)
Luminance0.0292 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F0E2B #0E5F42
analogous
#5F0E54 #5F0E2B #5F1A0E
triadic
#5F0E2B #2B5F0E #0E2B5F
tetradic
#5F0E2B #545F0E #0E5F42 #1A0E5F
square
#5F0E2B #545F0E #0E5F42 #1A0E5F
split-complementary
#5F0E2B #0E5F1A #0E545F
monochromatic
#1B040C #2A0613 #5F0E2B #941643 #CA1E5B

Accessibility & contrast

On white

13.26
#5F0E2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#5F0E2B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F0E2B
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F0E2B#FFFFFF#000000##FFFFFF
##5F0E2B1.0013.261.5813.26
#FFFFFF13.261.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23262C
Deuteranopia (green-blind)
#393529
Tritanopia (blue-blind)
#68001B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5f0e2b;
/* rgb */ color: rgb(95, 14, 43);
/* oklch */ color: oklch(32.3% 0.114 5.6);
Tailwind
colors: {
  custom: {
    50: '#915764',
    500: '#5f0e2b',
    950: '#000000',
  },
}
SCSS
$custom: #5f0e2b;
$custom-light: #915764;
$custom-dark: #000000;
JSON
{
  "hex": "#5f0e2b",
  "rgb": {
    "r": 95,
    "g": 14,
    "b": 43
  },
  "hsl": {
    "h": 338.519,
    "s": 74.312,
    "l": 21.373
  },
  "oklch": {
    "l": 0.32285,
    "c": 0.11419,
    "h": 5.6
  },
  "luminance": 0.02921
}

Semantic roles & 50–950 ramp

primary
#5F0E2B
secondary
#309973
accent
#F1AE37
background
#F9F5F5
surface
#F2E9EA
border
#CCC5C6
text
#0E0305
muted
#7E7879

Preview Lab

Preview with #5F0E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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