#5F0F3C#5F0F3C

#5F0F3C is a dark, moderate pink. Relative luminance 0.031; OKLCH L 33.0% C 0.120 H 351.7°. Best body text is #FFFFFF at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#5F0F3C
RGBrgb(95, 15, 60)
HSLhsl(326, 73%, 22%)
HSVhsv(326, 84%, 37%)
CMYKcmyk(0%, 84.2%, 36.8%, 62.7%)
CIE-LABlab(20.45, 38.69, -6.68)
CIE-LCHlch(20.45, 39.26, 350.21°)
OKLaboklab(33.01% 0.1187 -0.0173)
OKLCHoklch(33.01% 0.12 351.7)
XYZxyz(5.7061, 3.1015, 4.5722)
Luminance0.0310 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F0F3C #0F5F32
analogous
#5A0F5F #5F0F3C #5F0F14
triadic
#5F0F3C #3C5F0F #0F3C5F
tetradic
#5F0F3C #5F5A0F #0F5F32 #0F145F
square
#5F0F3C #5F5A0F #0F5F32 #0F145F
split-complementary
#5F0F3C #145F0F #0F5F5A
monochromatic
#1A0411 #2A071B #5F0F3C #94175D #C9207F

Accessibility & contrast

On white

12.96
#5F0F3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#5F0F3C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F0F3C
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F0F3C#FFFFFF#000000##FFFFFF
##5F0F3C1.0012.961.6212.96
#FFFFFF12.961.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E283D
Deuteranopia (green-blind)
#35363A
Tritanopia (blue-blind)
#670724
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5f0f3c;
/* rgb */ color: rgb(95, 15, 60);
/* oklch */ color: oklch(33.0% 0.120 351.7);
Tailwind
colors: {
  custom: {
    50: '#905871',
    500: '#5f0f3c',
    950: '#000000',
  },
}
SCSS
$custom: #5f0f3c;
$custom-light: #905871;
$custom-dark: #000000;
JSON
{
  "hex": "#5f0f3c",
  "rgb": {
    "r": 95,
    "g": 15,
    "b": 60
  },
  "hsl": {
    "h": 326.25,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.33007,
    "c": 0.11995,
    "h": 351.7
  },
  "luminance": 0.03101
}

Semantic roles & 50–950 ramp

primary
#5F0F3C
secondary
#32985E
accent
#EF8838
background
#F9F5F6
surface
#F1E9EC
border
#CBC5C7
text
#0D0407
muted
#7E797A

Preview Lab

Preview with #5F0F3C

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

Preview Lab → · Contrast checker → · Palette generator →

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