#5F0D2F#5F0D2F

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

Color values

HEX#5F0D2F
RGBrgb(95, 13, 47)
HSLhsl(335, 76%, 21%)
HSVhsv(335, 86%, 37%)
CMYKcmyk(0%, 86.3%, 50.5%, 62.7%)
CIE-LABlab(19.75, 37.85, 1.43)
CIE-LCHlch(19.75, 37.88, 2.16°)
OKLaboklab(32.34% 0.1162 0.0041)
OKLCHoklch(32.34% 0.116 2)
XYZxyz(5.3768, 2.9267, 2.9706)
Luminance0.0293 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F0D2F #0D5F3D
analogous
#5F0D58 #5F0D2F #5F140D
triadic
#5F0D2F #2F5F0D #0D2F5F
tetradic
#5F0D2F #585F0D #0D5F3D #140D5F
square
#5F0D2F #585F0D #0D5F3D #140D5F
split-complementary
#5F0D2F #0D5F14 #0D585F
monochromatic
#1B040D #290614 #5F0D2F #95144A #CB1C64

Accessibility & contrast

On white

13.25
#5F0D2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#5F0D2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F0D2F
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F0D2F#FFFFFF#000000##FFFFFF
##5F0D2F1.0013.251.5913.25
#FFFFFF13.251.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222630
Deuteranopia (green-blind)
#38352D
Tritanopia (blue-blind)
#68001D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5f0d2f;
/* rgb */ color: rgb(95, 13, 47);
/* oklch */ color: oklch(32.3% 0.116 2.0);
Tailwind
colors: {
  custom: {
    50: '#915667',
    500: '#5f0d2f',
    950: '#000000',
  },
}
SCSS
$custom: #5f0d2f;
$custom-light: #915667;
$custom-dark: #000000;
JSON
{
  "hex": "#5f0d2f",
  "rgb": {
    "r": 95,
    "g": 13,
    "b": 47
  },
  "hsl": {
    "h": 335.122,
    "s": 75.926,
    "l": 21.176
  },
  "oklch": {
    "l": 0.3234,
    "c": 0.11631,
    "h": 2
  },
  "luminance": 0.02926
}

Semantic roles & 50–950 ramp

primary
#5F0D2F
secondary
#2F996D
accent
#F3A435
background
#F9F5F6
surface
#F2E9EB
border
#CCC5C6
text
#0D0306
muted
#7E787A

Preview Lab

Preview with #5F0D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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