#5F0D2C#5F0D2C

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

Color values

HEX#5F0D2C
RGBrgb(95, 13, 44)
HSLhsl(337, 76%, 21%)
HSVhsv(337, 86%, 37%)
CMYKcmyk(0%, 86.3%, 53.7%, 62.7%)
CIE-LABlab(19.65, 37.57, 3.42)
CIE-LCHlch(19.65, 37.72, 5.20°)
OKLaboklab(32.24% 0.115 0.0091)
OKLCHoklch(32.24% 0.115 4.5)
XYZxyz(5.3183, 2.9033, 2.6627)
Luminance0.0290 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F0D2C #0D5F40
analogous
#5F0D55 #5F0D2C #5F170D
triadic
#5F0D2C #2C5F0D #0D2C5F
tetradic
#5F0D2C #555F0D #0D5F40 #170D5F
square
#5F0D2C #555F0D #0D5F40 #170D5F
split-complementary
#5F0D2C #0D5F17 #0D555F
monochromatic
#1B040C #290613 #5F0D2C #951445 #CB1C5E

Accessibility & contrast

On white

13.29
#5F0D2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F0D2C
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F0D2C#FFFFFF#000000##FFFFFF
##5F0D2C1.0013.291.5813.29
#FFFFFF13.291.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5f0d2c;
/* rgb */ color: rgb(95, 13, 44);
/* oklch */ color: oklch(32.2% 0.115 4.5);
Tailwind
colors: {
  custom: {
    50: '#915664',
    500: '#5f0d2c',
    950: '#000000',
  },
}
SCSS
$custom: #5f0d2c;
$custom-light: #915664;
$custom-dark: #000000;
JSON
{
  "hex": "#5f0d2c",
  "rgb": {
    "r": 95,
    "g": 13,
    "b": 44
  },
  "hsl": {
    "h": 337.317,
    "s": 75.926,
    "l": 21.176
  },
  "oklch": {
    "l": 0.32239,
    "c": 0.1154,
    "h": 4.5
  },
  "luminance": 0.02903
}

Semantic roles & 50–950 ramp

primary
#5F0D2C
secondary
#2F9971
accent
#F3AB35
background
#F9F5F6
surface
#F2E9EB
border
#CCC5C6
text
#0E0305
muted
#7E787A

Preview Lab

Preview with #5F0D2C

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

Preview Lab → · Contrast checker → · Palette generator →

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