#5F0F47#5F0F47

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

Color values

HEX#5F0F47
RGBrgb(95, 15, 71)
HSLhsl(318, 73%, 22%)
HSVhsv(318, 84%, 37%)
CMYKcmyk(0%, 84.2%, 25.3%, 62.7%)
CIE-LABlab(20.94, 40.16, -13.52)
CIE-LCHlch(20.94, 42.37, 341.39°)
OKLaboklab(33.53% 0.1213 -0.0362)
OKLCHoklch(33.53% 0.127 343.4)
XYZxyz(6.0277, 3.2301, 6.2661)
Luminance0.0323 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F0F47 #0F5F27
analogous
#4F0F5F #5F0F47 #5F0F1F
triadic
#5F0F47 #475F0F #0F475F
tetradic
#5F0F47 #5F4F0F #0F5F27 #0F1F5F
square
#5F0F47 #5F4F0F #0F5F27 #0F1F5F
split-complementary
#5F0F47 #1F5F0F #0F5F4F
monochromatic
#1A0414 #2A071F #5F0F47 #94176F #C92096

Accessibility & contrast

On white

12.76
#5F0F47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#5F0F47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F0F47
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F0F47#FFFFFF#000000##FFFFFF
##5F0F471.0012.761.6512.76
#FFFFFF12.761.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192A48
Deuteranopia (green-blind)
#323745
Tritanopia (blue-blind)
#660F2A
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5f0f47;
/* rgb */ color: rgb(95, 15, 71);
/* oklch */ color: oklch(33.5% 0.127 343.4);
Tailwind
colors: {
  custom: {
    50: '#90587a',
    500: '#5f0f47',
    950: '#000000',
  },
}
SCSS
$custom: #5f0f47;
$custom-light: #90587a;
$custom-dark: #000000;
JSON
{
  "hex": "#5f0f47",
  "rgb": {
    "r": 95,
    "g": 15,
    "b": 71
  },
  "hsl": {
    "h": 318,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.3353,
    "c": 0.1266,
    "h": 343.4
  },
  "luminance": 0.03229
}

Semantic roles & 50–950 ramp

primary
#5F0F47
secondary
#329850
accent
#EF6F38
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0409
muted
#7E797B

Preview Lab

Preview with #5F0F47

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

Preview Lab → · Contrast checker → · Palette generator →

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