#5F0F42#5F0F42

#5F0F42 is a dark, vivid pink. Relative luminance 0.032; OKLCH L 33.3% C 0.123 H 347.1°. Best body text is #FFFFFF at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#5F0F42
RGBrgb(95, 15, 66)
HSLhsl(322, 73%, 22%)
HSVhsv(322, 84%, 37%)
CMYKcmyk(0%, 84.2%, 30.5%, 62.7%)
CIE-LABlab(20.71, 39.46, -10.44)
CIE-LCHlch(20.71, 40.82, 345.18°)
OKLaboklab(33.28% 0.1203 -0.0276)
OKLCHoklch(33.28% 0.123 347.1)
XYZxyz(5.8738, 3.1686, 5.4555)
Luminance0.0317 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F0F42 #0F5F2C
analogous
#540F5F #5F0F42 #5F0F1A
triadic
#5F0F42 #425F0F #0F425F
tetradic
#5F0F42 #5F540F #0F5F2C #0F1A5F
square
#5F0F42 #5F540F #0F5F2C #0F1A5F
split-complementary
#5F0F42 #1A5F0F #0F5F54
monochromatic
#1A0412 #2A071D #5F0F42 #941767 #C9208B

Accessibility & contrast

On white

12.86
#5F0F42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F0F42
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F0F42#FFFFFF#000000##FFFFFF
##5F0F421.0012.861.6312.86
#FFFFFF12.861.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2943
Deuteranopia (green-blind)
#343740
Tritanopia (blue-blind)
#660C27
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5f0f42;
/* rgb */ color: rgb(95, 15, 66);
/* oklch */ color: oklch(33.3% 0.123 347.1);
Tailwind
colors: {
  custom: {
    50: '#905876',
    500: '#5f0f42',
    950: '#000000',
  },
}
SCSS
$custom: #5f0f42;
$custom-light: #905876;
$custom-dark: #000000;
JSON
{
  "hex": "#5f0f42",
  "rgb": {
    "r": 95,
    "g": 15,
    "b": 66
  },
  "hsl": {
    "h": 321.75,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.33282,
    "c": 0.1234,
    "h": 347.1
  },
  "luminance": 0.03168
}

Semantic roles & 50–950 ramp

primary
#5F0F42
secondary
#329857
accent
#EF7B38
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0408
muted
#7E797B

Preview Lab

Preview with #5F0F42

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

Preview Lab → · Contrast checker → · Palette generator →

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