#5F0F46#5F0F46

#5F0F46 is a dark, vivid pink. Relative luminance 0.032; OKLCH L 33.5% C 0.126 H 344.1°. Best body text is #FFFFFF at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#5F0F46
RGBrgb(95, 15, 70)
HSLhsl(319, 73%, 22%)
HSVhsv(319, 84%, 37%)
CMYKcmyk(0%, 84.2%, 26.3%, 62.7%)
CIE-LABlab(20.89, 40.01, -12.91)
CIE-LCHlch(20.89, 42.04, 342.12°)
OKLaboklab(33.48% 0.1211 -0.0345)
OKLCHoklch(33.48% 0.126 344.1)
XYZxyz(5.9959, 3.2174, 6.0984)
Luminance0.0322 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F0F46 #0F5F28
analogous
#500F5F #5F0F46 #5F0F1E
triadic
#5F0F46 #465F0F #0F465F
tetradic
#5F0F46 #5F500F #0F5F28 #0F1E5F
square
#5F0F46 #5F500F #0F5F28 #0F1E5F
split-complementary
#5F0F46 #1E5F0F #0F5F50
monochromatic
#1A0413 #2A071F #5F0F46 #94176D #C92094

Accessibility & contrast

On white

12.78
#5F0F46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#5F0F46 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F0F46
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F0F46#FFFFFF#000000##FFFFFF
##5F0F461.0012.781.6412.78
#FFFFFF12.781.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192A47
Deuteranopia (green-blind)
#323744
Tritanopia (blue-blind)
#660E29
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5f0f46;
/* rgb */ color: rgb(95, 15, 70);
/* oklch */ color: oklch(33.5% 0.126 344.1);
Tailwind
colors: {
  custom: {
    50: '#905879',
    500: '#5f0f46',
    950: '#000000',
  },
}
SCSS
$custom: #5f0f46;
$custom-light: #905879;
$custom-dark: #000000;
JSON
{
  "hex": "#5f0f46",
  "rgb": {
    "r": 95,
    "g": 15,
    "b": 70
  },
  "hsl": {
    "h": 318.75,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.33479,
    "c": 0.12593,
    "h": 344.1
  },
  "luminance": 0.03217
}

Semantic roles & 50–950 ramp

primary
#5F0F46
secondary
#329852
accent
#EF7238
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0409
muted
#7E797B

Preview Lab

Preview with #5F0F46

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

Preview Lab → · Contrast checker → · Palette generator →

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