#5F0D2E#5F0D2E

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

Color values

HEX#5F0D2E
RGBrgb(95, 13, 46)
HSLhsl(336, 76%, 21%)
HSVhsv(336, 86%, 37%)
CMYKcmyk(0%, 86.3%, 51.6%, 62.7%)
CIE-LABlab(19.72, 37.76, 2.09)
CIE-LCHlch(19.72, 37.81, 3.17°)
OKLaboklab(32.31% 0.1159 0.0057)
OKLCHoklch(32.31% 0.116 2.8)
XYZxyz(5.3568, 2.9187, 2.8655)
Luminance0.0292 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F0D2E #0D5F3E
analogous
#5F0D57 #5F0D2E #5F150D
triadic
#5F0D2E #2E5F0D #0D2E5F
tetradic
#5F0D2E #575F0D #0D5F3E #150D5F
square
#5F0D2E #575F0D #0D5F3E #150D5F
split-complementary
#5F0D2E #0D5F15 #0D575F
monochromatic
#1B040D #290614 #5F0D2E #951448 #CB1C62

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F0D2E#FFFFFF#000000##FFFFFF
##5F0D2E1.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)
#22262F
Deuteranopia (green-blind)
#38352C
Tritanopia (blue-blind)
#68001C
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5f0d2e;
/* rgb */ color: rgb(95, 13, 46);
/* oklch */ color: oklch(32.3% 0.116 2.8);
Tailwind
colors: {
  custom: {
    50: '#915666',
    500: '#5f0d2e',
    950: '#000000',
  },
}
SCSS
$custom: #5f0d2e;
$custom-light: #915666;
$custom-dark: #000000;
JSON
{
  "hex": "#5f0d2e",
  "rgb": {
    "r": 95,
    "g": 13,
    "b": 46
  },
  "hsl": {
    "h": 335.854,
    "s": 75.926,
    "l": 21.176
  },
  "oklch": {
    "l": 0.32305,
    "c": 0.11599,
    "h": 2.8
  },
  "luminance": 0.02918
}

Semantic roles & 50–950 ramp

primary
#5F0D2E
secondary
#2F996E
accent
#F3A635
background
#F9F5F6
surface
#F2E9EB
border
#CCC5C6
text
#0D0305
muted
#7E787A

Preview Lab

Preview with #5F0D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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