#5F0F36#5F0F36

#5F0F36 is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.8% C 0.117 H 356.6°. Best body text is #FFFFFF at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#5F0F36
RGBrgb(95, 15, 54)
HSLhsl(331, 73%, 22%)
HSVhsv(331, 84%, 37%)
CMYKcmyk(0%, 84.2%, 43.2%, 62.7%)
CIE-LABlab(20.21, 37.98, -2.84)
CIE-LCHlch(20.21, 38.08, 355.73°)
OKLaboklab(32.76% 0.1168 -0.007)
OKLCHoklch(32.76% 0.117 356.6)
XYZxyz(5.5564, 3.0416, 3.7838)
Luminance0.0304 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F0F36 #0F5F38
analogous
#5F0F5E #5F0F36 #5F100F
triadic
#5F0F36 #365F0F #0F365F
tetradic
#5F0F36 #5E5F0F #0F5F38 #100F5F
square
#5F0F36 #5E5F0F #0F5F38 #100F5F
split-complementary
#5F0F36 #0F5F10 #0F5E5F
monochromatic
#1A040F #2A0718 #5F0F36 #941754 #C92072

Accessibility & contrast

On white

13.06
#5F0F36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#5F0F36 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F0F36
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F0F36#FFFFFF#000000##FFFFFF
##5F0F361.0013.061.6113.06
#FFFFFF13.061.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212737
Deuteranopia (green-blind)
#373634
Tritanopia (blue-blind)
#670321
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5f0f36;
/* rgb */ color: rgb(95, 15, 54);
/* oklch */ color: oklch(32.8% 0.117 356.6);
Tailwind
colors: {
  custom: {
    50: '#91576c',
    500: '#5f0f36',
    950: '#000000',
  },
}
SCSS
$custom: #5f0f36;
$custom-light: #91576c;
$custom-dark: #000000;
JSON
{
  "hex": "#5f0f36",
  "rgb": {
    "r": 95,
    "g": 15,
    "b": 54
  },
  "hsl": {
    "h": 330.75,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.32758,
    "c": 0.11702,
    "h": 356.6
  },
  "luminance": 0.03041
}

Semantic roles & 50–950 ramp

primary
#5F0F36
secondary
#329866
accent
#EF9638
background
#F9F5F6
surface
#F2E9EB
border
#CCC5C6
text
#0D0407
muted
#7E797A

Preview Lab

Preview with #5F0F36

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

Preview Lab → · Contrast checker → · Palette generator →

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