#5F0E4F#5F0E4F

#5F0E4F is a dark, vivid pink. Relative luminance 0.033; OKLCH L 33.9% C 0.133 H 337.8°. Best body text is #FFFFFF at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#5F0E4F
RGBrgb(95, 14, 79)
HSLhsl(312, 74%, 21%)
HSVhsv(312, 85%, 37%)
CMYKcmyk(0%, 85.3%, 16.8%, 62.7%)
CIE-LABlab(21.25, 41.65, -18.49)
CIE-LCHlch(21.25, 45.57, 336.06°)
OKLaboklab(33.89% 0.1234 -0.0503)
OKLCHoklch(33.89% 0.133 337.8)
XYZxyz(6.2878, 3.3121, 7.7038)
Luminance0.0331 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F0E4F #0E5F1E
analogous
#470E5F #5F0E4F #5F0E27
triadic
#5F0E4F #4F5F0E #0E4F5F
tetradic
#5F0E4F #5F470E #0E5F1E #0E275F
square
#5F0E4F #5F470E #0E5F1E #0E275F
split-complementary
#5F0E4F #275F0E #0E5F47
monochromatic
#1B0416 #2A0623 #5F0E4F #94167B #CA1EA8

Accessibility & contrast

On white

12.63
#5F0E4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#5F0E4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F0E4F
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F0E4F#FFFFFF#000000##FFFFFF
##5F0E4F1.0012.631.6612.63
#FFFFFF12.631.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#122B51
Deuteranopia (green-blind)
#2F374D
Tritanopia (blue-blind)
#65132E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5f0e4f;
/* rgb */ color: rgb(95, 14, 79);
/* oklch */ color: oklch(33.9% 0.133 337.8);
Tailwind
colors: {
  custom: {
    50: '#905880',
    500: '#5f0e4f',
    950: '#000000',
  },
}
SCSS
$custom: #5f0e4f;
$custom-light: #905880;
$custom-dark: #000000;
JSON
{
  "hex": "#5f0e4f",
  "rgb": {
    "r": 95,
    "g": 14,
    "b": 79
  },
  "hsl": {
    "h": 311.852,
    "s": 74.312,
    "l": 21.373
  },
  "oklch": {
    "l": 0.33889,
    "c": 0.1332,
    "h": 337.8
  },
  "luminance": 0.03311
}

Semantic roles & 50–950 ramp

primary
#5F0E4F
secondary
#309945
accent
#F15C37
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D040A
muted
#7E797C

Preview Lab

Preview with #5F0E4F

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

Preview Lab → · Contrast checker → · Palette generator →

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