#5F0F31#5F0F31

#5F0F31 is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.6% C 0.115 H 0.8°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#5F0F31
RGBrgb(95, 15, 49)
HSLhsl(335, 73%, 22%)
HSVhsv(335, 84%, 37%)
CMYKcmyk(0%, 84.2%, 48.4%, 62.7%)
CIE-LABlab(20.03, 37.44, 0.42)
CIE-LCHlch(20.03, 37.44, 0.65°)
OKLaboklab(32.57% 0.115 0.0015)
OKLCHoklch(32.57% 0.115 0.8)
XYZxyz(5.4450, 2.9970, 3.1969)
Luminance0.0300 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F0F31 #0F5F3D
analogous
#5F0F59 #5F0F31 #5F150F
triadic
#5F0F31 #315F0F #0F315F
tetradic
#5F0F31 #595F0F #0F5F3D #150F5F
square
#5F0F31 #595F0F #0F5F3D #150F5F
split-complementary
#5F0F31 #0F5F15 #0F595F
monochromatic
#1A040E #2A0716 #5F0F31 #94174C #C92068

Accessibility & contrast

On white

13.13
#5F0F31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#5F0F31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F0F31
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F0F31#FFFFFF#000000##FFFFFF
##5F0F311.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222732
Deuteranopia (green-blind)
#38362F
Tritanopia (blue-blind)
#68001E
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5f0f31;
/* rgb */ color: rgb(95, 15, 49);
/* oklch */ color: oklch(32.6% 0.115 0.8);
Tailwind
colors: {
  custom: {
    50: '#915768',
    500: '#5f0f31',
    950: '#000000',
  },
}
SCSS
$custom: #5f0f31;
$custom-light: #915768;
$custom-dark: #000000;
JSON
{
  "hex": "#5f0f31",
  "rgb": {
    "r": 95,
    "g": 15,
    "b": 49
  },
  "hsl": {
    "h": 334.5,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.3257,
    "c": 0.11502,
    "h": 0.8
  },
  "luminance": 0.02996
}

Semantic roles & 50–950 ramp

primary
#5F0F31
secondary
#32986D
accent
#EFA238
background
#F9F5F6
surface
#F2E9EB
border
#CCC5C6
text
#0D0406
muted
#7E797A

Preview Lab

Preview with #5F0F31

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

Preview Lab → · Contrast checker → · Palette generator →

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