#5F0D2B#5F0D2B

#5F0D2B is a dark, moderate pink. Relative luminance 0.029; OKLCH L 32.2% C 0.115 H 5.3°. Best body text is #FFFFFF at 13.30:1 contrast (WCAG AA passes).

Color values

HEX#5F0D2B
RGBrgb(95, 13, 43)
HSLhsl(338, 76%, 21%)
HSVhsv(338, 86%, 37%)
CMYKcmyk(0%, 86.3%, 54.7%, 62.7%)
CIE-LABlab(19.62, 37.48, 4.08)
CIE-LCHlch(19.62, 37.70, 6.22°)
OKLaboklab(32.21% 0.1146 0.0107)
OKLCHoklch(32.21% 0.115 5.3)
XYZxyz(5.2998, 2.8959, 2.5649)
Luminance0.0290 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F0D2B #0D5F41
analogous
#5F0D54 #5F0D2B #5F180D
triadic
#5F0D2B #2B5F0D #0D2B5F
tetradic
#5F0D2B #545F0D #0D5F41 #180D5F
square
#5F0D2B #545F0D #0D5F41 #180D5F
split-complementary
#5F0D2B #0D5F18 #0D545F
monochromatic
#1B040C #290613 #5F0D2B #951443 #CB1C5C

Accessibility & contrast

On white

13.30
#5F0D2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F0D2B
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F0D2B#FFFFFF#000000##FFFFFF
##5F0D2B1.0013.301.5813.30
#FFFFFF13.301.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23252C
Deuteranopia (green-blind)
#383529
Tritanopia (blue-blind)
#68001B
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5f0d2b;
/* rgb */ color: rgb(95, 13, 43);
/* oklch */ color: oklch(32.2% 0.115 5.3);
Tailwind
colors: {
  custom: {
    50: '#915664',
    500: '#5f0d2b',
    950: '#000000',
  },
}
SCSS
$custom: #5f0d2b;
$custom-light: #915664;
$custom-dark: #000000;
JSON
{
  "hex": "#5f0d2b",
  "rgb": {
    "r": 95,
    "g": 13,
    "b": 43
  },
  "hsl": {
    "h": 338.049,
    "s": 75.926,
    "l": 21.176
  },
  "oklch": {
    "l": 0.32206,
    "c": 0.11514,
    "h": 5.3
  },
  "luminance": 0.02895
}

Semantic roles & 50–950 ramp

primary
#5F0D2B
secondary
#2F9972
accent
#F3AD35
background
#F9F5F5
surface
#F2E9EA
border
#CCC5C6
text
#0E0305
muted
#7E7879

Preview Lab

Preview with #5F0D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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