#5F0F4F#5F0F4F

#5F0F4F is a dark, vivid pink. Relative luminance 0.033; OKLCH L 34.0% C 0.132 H 337.9°. Best body text is #FFFFFF at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#5F0F4F
RGBrgb(95, 15, 79)
HSLhsl(312, 73%, 22%)
HSVhsv(312, 84%, 37%)
CMYKcmyk(0%, 84.2%, 16.8%, 62.7%)
CIE-LABlab(21.36, 41.35, -18.33)
CIE-LCHlch(21.36, 45.23, 336.09°)
OKLaboklab(33.96% 0.1225 -0.0498)
OKLCHoklch(33.96% 0.132 337.9)
XYZxyz(6.3016, 3.3397, 7.7084)
Luminance0.0334 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F0F4F #0F5F1F
analogous
#470F5F #5F0F4F #5F0F27
triadic
#5F0F4F #4F5F0F #0F4F5F
tetradic
#5F0F4F #5F470F #0F5F1F #0F275F
square
#5F0F4F #5F470F #0F5F1F #0F275F
split-complementary
#5F0F4F #275F0F #0F5F47
monochromatic
#1A0416 #2A0723 #5F0F4F #94177B #C920A7

Accessibility & contrast

On white

12.59
#5F0F4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#5F0F4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F0F4F
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F0F4F#FFFFFF#000000##FFFFFF
##5F0F4F1.0012.591.6712.59
#FFFFFF12.591.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#132B51
Deuteranopia (green-blind)
#2F384D
Tritanopia (blue-blind)
#65142E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5f0f4f;
/* rgb */ color: rgb(95, 15, 79);
/* oklch */ color: oklch(34.0% 0.132 337.9);
Tailwind
colors: {
  custom: {
    50: '#905880',
    500: '#5f0f4f',
    950: '#000000',
  },
}
SCSS
$custom: #5f0f4f;
$custom-light: #905880;
$custom-dark: #000000;
JSON
{
  "hex": "#5f0f4f",
  "rgb": {
    "r": 95,
    "g": 15,
    "b": 79
  },
  "hsl": {
    "h": 312,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.33963,
    "c": 0.13221,
    "h": 337.9
  },
  "luminance": 0.03339
}

Semantic roles & 50–950 ramp

primary
#5F0F4F
secondary
#329846
accent
#EF5D38
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D040A
muted
#7E797C

Preview Lab

Preview with #5F0F4F

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

Preview Lab → · Contrast checker → · Palette generator →

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