#5F0C2D#5F0C2D

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

Color values

HEX#5F0C2D
RGBrgb(95, 12, 45)
HSLhsl(336, 78%, 21%)
HSVhsv(336, 87%, 37%)
CMYKcmyk(0%, 87.4%, 52.6%, 62.7%)
CIE-LABlab(19.58, 37.95, 2.61)
CIE-LCHlch(19.58, 38.04, 3.93°)
OKLaboklab(32.2% 0.1164 0.007)
OKLCHoklch(32.2% 0.117 3.5)
XYZxyz(5.3249, 2.8861, 2.7588)
Luminance0.0289 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F0C2D #0C5F3E
analogous
#5F0C56 #5F0C2D #5F150C
triadic
#5F0C2D #2D5F0C #0C2D5F
tetradic
#5F0C2D #565F0C #0C5F3E #150C5F
square
#5F0C2D #565F0C #0C5F3E #150C5F
split-complementary
#5F0C2D #0C5F15 #0C565F
monochromatic
#1B030D #290513 #5F0C2D #951347 #CC1A60

Accessibility & contrast

On white

13.32
#5F0C2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F0C2D
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F0C2D#FFFFFF#000000##FFFFFF
##5F0C2D1.0013.321.5813.32
#FFFFFF13.321.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22252E
Deuteranopia (green-blind)
#38352B
Tritanopia (blue-blind)
#68001B
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5f0c2d;
/* rgb */ color: rgb(95, 12, 45);
/* oklch */ color: oklch(32.2% 0.117 3.5);
Tailwind
colors: {
  custom: {
    50: '#915665',
    500: '#5f0c2d',
    950: '#000000',
  },
}
SCSS
$custom: #5f0c2d;
$custom-light: #915665;
$custom-dark: #000000;
JSON
{
  "hex": "#5f0c2d",
  "rgb": {
    "r": 95,
    "g": 12,
    "b": 45
  },
  "hsl": {
    "h": 336.145,
    "s": 77.57,
    "l": 20.98
  },
  "oklch": {
    "l": 0.32197,
    "c": 0.1166,
    "h": 3.5
  },
  "luminance": 0.02885
}

Semantic roles & 50–950 ramp

primary
#5F0C2D
secondary
#2D996E
accent
#F4A834
background
#F9F5F6
surface
#F2E9EB
border
#CCC5C6
text
#0E0305
muted
#7E787A

Preview Lab

Preview with #5F0C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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