#5F0F3F#5F0F3F

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

Color values

HEX#5F0F3F
RGBrgb(95, 15, 63)
HSLhsl(324, 73%, 22%)
HSVhsv(324, 84%, 37%)
CMYKcmyk(0%, 84.2%, 33.7%, 62.7%)
CIE-LABlab(20.57, 39.07, -8.57)
CIE-LCHlch(20.57, 40.00, 347.63°)
OKLaboklab(33.14% 0.1195 -0.0224)
OKLCHoklch(33.14% 0.122 349.4)
XYZxyz(5.7877, 3.1341, 5.0018)
Luminance0.0313 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F0F3F #0F5F2F
analogous
#570F5F #5F0F3F #5F0F17
triadic
#5F0F3F #3F5F0F #0F3F5F
tetradic
#5F0F3F #5F570F #0F5F2F #0F175F
square
#5F0F3F #5F570F #0F5F2F #0F175F
split-complementary
#5F0F3F #175F0F #0F5F57
monochromatic
#1A0412 #2A071C #5F0F3F #941762 #C92085

Accessibility & contrast

On white

12.91
#5F0F3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#5F0F3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F0F3F
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F0F3F#FFFFFF#000000##FFFFFF
##5F0F3F1.0012.911.6312.91
#FFFFFF12.911.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2940
Deuteranopia (green-blind)
#34373D
Tritanopia (blue-blind)
#670926
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5f0f3f;
/* rgb */ color: rgb(95, 15, 63);
/* oklch */ color: oklch(33.1% 0.122 349.4);
Tailwind
colors: {
  custom: {
    50: '#905874',
    500: '#5f0f3f',
    950: '#000000',
  },
}
SCSS
$custom: #5f0f3f;
$custom-light: #905874;
$custom-dark: #000000;
JSON
{
  "hex": "#5f0f3f",
  "rgb": {
    "r": 95,
    "g": 15,
    "b": 63
  },
  "hsl": {
    "h": 324,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.33142,
    "c": 0.12162,
    "h": 349.4
  },
  "luminance": 0.03133
}

Semantic roles & 50–950 ramp

primary
#5F0F3F
secondary
#32985B
accent
#EF8238
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0408
muted
#7E797B

Preview Lab

Preview with #5F0F3F

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

Preview Lab → · Contrast checker → · Palette generator →

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