#5F0D2A#5F0D2A

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

Color values

HEX#5F0D2A
RGBrgb(95, 13, 42)
HSLhsl(339, 76%, 21%)
HSVhsv(339, 86%, 37%)
CMYKcmyk(0%, 86.3%, 55.8%, 62.7%)
CIE-LABlab(19.59, 37.38, 4.75)
CIE-LCHlch(19.59, 37.69, 7.25°)
OKLaboklab(32.17% 0.1142 0.0123)
OKLCHoklch(32.17% 0.115 6.2)
XYZxyz(5.2816, 2.8887, 2.4695)
Luminance0.0289 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F0D2A #0D5F42
analogous
#5F0D53 #5F0D2A #5F190D
triadic
#5F0D2A #2A5F0D #0D2A5F
tetradic
#5F0D2A #535F0D #0D5F42 #190D5F
square
#5F0D2A #535F0D #0D5F42 #190D5F
split-complementary
#5F0D2A #0D5F19 #0D535F
monochromatic
#1B040C #290612 #5F0D2A #951442 #CB1C5A

Accessibility & contrast

On white

13.31
#5F0D2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F0D2A
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F0D2A#FFFFFF#000000##FFFFFF
##5F0D2A1.0013.311.5813.31
#FFFFFF13.311.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5f0d2a;
/* rgb */ color: rgb(95, 13, 42);
/* oklch */ color: oklch(32.2% 0.115 6.2);
Tailwind
colors: {
  custom: {
    50: '#915663',
    500: '#5f0d2a',
    950: '#000000',
  },
}
SCSS
$custom: #5f0d2a;
$custom-light: #915663;
$custom-dark: #000000;
JSON
{
  "hex": "#5f0d2a",
  "rgb": {
    "r": 95,
    "g": 13,
    "b": 42
  },
  "hsl": {
    "h": 338.78,
    "s": 75.926,
    "l": 21.176
  },
  "oklch": {
    "l": 0.32175,
    "c": 0.11488,
    "h": 6.2
  },
  "luminance": 0.02888
}

Semantic roles & 50–950 ramp

primary
#5F0D2A
secondary
#2F9973
accent
#F3B035
background
#F9F5F5
surface
#F2E9EA
border
#CCC5C6
text
#0E0305
muted
#7E7879

Preview Lab

Preview with #5F0D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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