#5F1335#5F1335

#5F1335 is a dark, moderate pink. Relative luminance 0.032; OKLCH L 33.1% C 0.112 H 358.3°. Best body text is #FFFFFF at 12.87:1 contrast (WCAG AA passes).

Color values

HEX#5F1335
RGBrgb(95, 19, 53)
HSLhsl(333, 67%, 22%)
HSVhsv(333, 80%, 37%)
CMYKcmyk(0%, 80%, 44.2%, 62.7%)
CIE-LABlab(20.66, 36.49, -1.47)
CIE-LCHlch(20.66, 36.52, 357.69°)
OKLaboklab(33.08% 0.1121 -0.0034)
OKLCHoklch(33.08% 0.112 358.3)
XYZxyz(5.5952, 3.1564, 3.6821)
Luminance0.0316 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1335 #135F3D
analogous
#5F135B #5F1335 #5F1713
triadic
#5F1335 #355F13 #13355F
tetradic
#5F1335 #5B5F13 #135F3D #17135F
square
#5F1335 #5B5F13 #135F3D #17135F
split-complementary
#5F1335 #135F17 #135B5F
monochromatic
#1A050E #2C0919 #5F1335 #921D51 #C5276E

Accessibility & contrast

On white

12.87
#5F1335 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#5F1335 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1335
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1335#FFFFFF#000000##FFFFFF
##5F13351.0012.871.6312.87
#FFFFFF12.871.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232936
Deuteranopia (green-blind)
#383733
Tritanopia (blue-blind)
#670822
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5f1335;
/* rgb */ color: rgb(95, 19, 53);
/* oklch */ color: oklch(33.1% 0.112 358.3);
Tailwind
colors: {
  custom: {
    50: '#90596c',
    500: '#5f1335',
    950: '#000000',
  },
}
SCSS
$custom: #5f1335;
$custom-light: #90596c;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1335",
  "rgb": {
    "r": 95,
    "g": 19,
    "b": 53
  },
  "hsl": {
    "h": 333.158,
    "s": 66.667,
    "l": 22.353
  },
  "oklch": {
    "l": 0.33076,
    "c": 0.11211,
    "h": 358.3
  },
  "luminance": 0.03156
}

Semantic roles & 50–950 ramp

primary
#5F1335
secondary
#37976C
accent
#EA9D3E
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0406
muted
#7E797A

Preview Lab

Preview with #5F1335

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

Preview Lab → · Contrast checker → · Palette generator →

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