#5F0E35#5F0E35

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

Color values

HEX#5F0E35
RGBrgb(95, 14, 53)
HSLhsl(331, 74%, 21%)
HSVhsv(331, 85%, 37%)
CMYKcmyk(0%, 85.3%, 44.2%, 62.7%)
CIE-LABlab(20.06, 38.18, -2.35)
CIE-LCHlch(20.06, 38.25, 356.48°)
OKLaboklab(32.64% 0.1175 -0.0057)
OKLCHoklch(32.64% 0.118 357.2)
XYZxyz(5.5194, 3.0047, 3.6568)
Luminance0.0300 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F0E35 #0E5F38
analogous
#5F0E5E #5F0E35 #5F100E
triadic
#5F0E35 #355F0E #0E355F
tetradic
#5F0E35 #5E5F0E #0E5F38 #100E5F
square
#5F0E35 #5E5F0E #0E5F38 #100E5F
split-complementary
#5F0E35 #0E5F10 #0E5E5F
monochromatic
#1B040F #2A0617 #5F0E35 #941653 #CA1E71

Accessibility & contrast

On white

13.12
#5F0E35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F0E35
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F0E35#FFFFFF#000000##FFFFFF
##5F0E351.0013.121.6013.12
#FFFFFF13.121.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202736
Deuteranopia (green-blind)
#373633
Tritanopia (blue-blind)
#670120
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5f0e35;
/* rgb */ color: rgb(95, 14, 53);
/* oklch */ color: oklch(32.6% 0.118 357.2);
Tailwind
colors: {
  custom: {
    50: '#91576c',
    500: '#5f0e35',
    950: '#000000',
  },
}
SCSS
$custom: #5f0e35;
$custom-light: #91576c;
$custom-dark: #000000;
JSON
{
  "hex": "#5f0e35",
  "rgb": {
    "r": 95,
    "g": 14,
    "b": 53
  },
  "hsl": {
    "h": 331.111,
    "s": 74.312,
    "l": 21.373
  },
  "oklch": {
    "l": 0.32638,
    "c": 0.11761,
    "h": 357.2
  },
  "luminance": 0.03004
}

Semantic roles & 50–950 ramp

primary
#5F0E35
secondary
#309966
accent
#F19737
background
#F9F5F6
surface
#F2E9EB
border
#CCC5C6
text
#0D0306
muted
#7E787A

Preview Lab

Preview with #5F0E35

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

Preview Lab → · Contrast checker → · Palette generator →

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