#5F0F3D#5F0F3D

#5F0F3D is a dark, vivid pink. Relative luminance 0.031; OKLCH L 33.1% C 0.120 H 350.9°. Best body text is #FFFFFF at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#5F0F3D
RGBrgb(95, 15, 61)
HSLhsl(326, 73%, 22%)
HSVhsv(326, 84%, 37%)
CMYKcmyk(0%, 84.2%, 35.8%, 62.7%)
CIE-LABlab(20.49, 38.81, -7.31)
CIE-LCHlch(20.49, 39.49, 349.33°)
OKLaboklab(33.05% 0.119 -0.019)
OKLCHoklch(33.05% 0.121 350.9)
XYZxyz(5.7328, 3.1122, 4.7128)
Luminance0.0311 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F0F3D #0F5F31
analogous
#590F5F #5F0F3D #5F0F15
triadic
#5F0F3D #3D5F0F #0F3D5F
tetradic
#5F0F3D #5F590F #0F5F31 #0F155F
square
#5F0F3D #5F590F #0F5F31 #0F155F
split-complementary
#5F0F3D #155F0F #0F5F59
monochromatic
#1A0411 #2A071B #5F0F3D #94175F #C92081

Accessibility & contrast

On white

12.95
#5F0F3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#5F0F3D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F0F3D
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F0F3D#FFFFFF#000000##FFFFFF
##5F0F3D1.0012.951.6212.95
#FFFFFF12.951.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E283E
Deuteranopia (green-blind)
#35363B
Tritanopia (blue-blind)
#670824
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5f0f3d;
/* rgb */ color: rgb(95, 15, 61);
/* oklch */ color: oklch(33.1% 0.120 350.9);
Tailwind
colors: {
  custom: {
    50: '#905872',
    500: '#5f0f3d',
    950: '#000000',
  },
}
SCSS
$custom: #5f0f3d;
$custom-light: #905872;
$custom-dark: #000000;
JSON
{
  "hex": "#5f0f3d",
  "rgb": {
    "r": 95,
    "g": 15,
    "b": 61
  },
  "hsl": {
    "h": 325.5,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.33051,
    "c": 0.1205,
    "h": 350.9
  },
  "luminance": 0.03111
}

Semantic roles & 50–950 ramp

primary
#5F0F3D
secondary
#32985D
accent
#EF8638
background
#F9F5F6
surface
#F1E9EC
border
#CBC5C7
text
#0D0408
muted
#7E797B

Preview Lab

Preview with #5F0F3D

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

Preview Lab → · Contrast checker → · Palette generator →

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