#5F0C2A#5F0C2A

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

Color values

HEX#5F0C2A
RGBrgb(95, 12, 42)
HSLhsl(338, 78%, 21%)
HSVhsv(338, 87%, 37%)
CMYKcmyk(0%, 87.4%, 55.8%, 62.7%)
CIE-LABlab(19.49, 37.68, 4.61)
CIE-LCHlch(19.49, 37.96, 6.97°)
OKLaboklab(32.1% 0.1152 0.012)
OKLCHoklch(32.1% 0.116 5.9)
XYZxyz(5.2692, 2.8638, 2.4653)
Luminance0.0286 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F0C2A #0C5F41
analogous
#5F0C53 #5F0C2A #5F170C
triadic
#5F0C2A #2A5F0C #0C2A5F
tetradic
#5F0C2A #535F0C #0C5F41 #170C5F
square
#5F0C2A #535F0C #0C5F41 #170C5F
split-complementary
#5F0C2A #0C5F17 #0C535F
monochromatic
#1B030C #290512 #5F0C2A #951342 #CC1A5A

Accessibility & contrast

On white

13.35
#5F0C2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#5F0C2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F0C2A
13.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F0C2A#FFFFFF#000000##FFFFFF
##5F0C2A1.0013.351.5713.35
#FFFFFF13.351.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.351.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: #5f0c2a;
/* rgb */ color: rgb(95, 12, 42);
/* oklch */ color: oklch(32.1% 0.116 5.9);
Tailwind
colors: {
  custom: {
    50: '#915663',
    500: '#5f0c2a',
    950: '#000000',
  },
}
SCSS
$custom: #5f0c2a;
$custom-light: #915663;
$custom-dark: #000000;
JSON
{
  "hex": "#5f0c2a",
  "rgb": {
    "r": 95,
    "g": 12,
    "b": 42
  },
  "hsl": {
    "h": 338.313,
    "s": 77.57,
    "l": 20.98
  },
  "oklch": {
    "l": 0.32099,
    "c": 0.11579,
    "h": 5.9
  },
  "luminance": 0.02863
}

Semantic roles & 50–950 ramp

primary
#5F0C2A
secondary
#2D9972
accent
#F4AF34
background
#F9F5F5
surface
#F2E9EA
border
#CCC5C6
text
#0E0305
muted
#7E7879

Preview Lab

Preview with #5F0C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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