#5F1135#5F1135

#5F1135 is a dark, moderate pink. Relative luminance 0.031; OKLCH L 32.9% C 0.114 H 357.8°. Best body text is #FFFFFF at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#5F1135
RGBrgb(95, 17, 53)
HSLhsl(332, 70%, 22%)
HSVhsv(332, 82%, 37%)
CMYKcmyk(0%, 82.1%, 44.2%, 62.7%)
CIE-LABlab(20.41, 37.20, -1.84)
CIE-LCHlch(20.41, 37.25, 357.17°)
OKLaboklab(32.89% 0.1143 -0.0044)
OKLCHoklch(32.89% 0.114 357.8)
XYZxyz(5.5628, 3.0916, 3.6713)
Luminance0.0309 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1135 #115F3B
analogous
#5F115C #5F1135 #5F1411
triadic
#5F1135 #355F11 #11355F
tetradic
#5F1135 #5C5F11 #115F3B #14115F
square
#5F1135 #5C5F11 #115F3B #14115F
split-complementary
#5F1135 #115F14 #115C5F
monochromatic
#1A050E #2B0818 #5F1135 #931A52 #C7246F

Accessibility & contrast

On white

12.98
#5F1135 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F1135
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1135#FFFFFF#000000##FFFFFF
##5F11351.0012.981.6212.98
#FFFFFF12.981.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222836
Deuteranopia (green-blind)
#373633
Tritanopia (blue-blind)
#670521
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5f1135;
/* rgb */ color: rgb(95, 17, 53);
/* oklch */ color: oklch(32.9% 0.114 357.8);
Tailwind
colors: {
  custom: {
    50: '#90586c',
    500: '#5f1135',
    950: '#000000',
  },
}
SCSS
$custom: #5f1135;
$custom-light: #90586c;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1135",
  "rgb": {
    "r": 95,
    "g": 17,
    "b": 53
  },
  "hsl": {
    "h": 332.308,
    "s": 69.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.3289,
    "c": 0.11442,
    "h": 357.8
  },
  "luminance": 0.03091
}

Semantic roles & 50–950 ramp

primary
#5F1135
secondary
#34986A
accent
#EC9B3B
background
#F9F5F6
surface
#F2E9EB
border
#CCC5C6
text
#0D0406
muted
#7E797A

Preview Lab

Preview with #5F1135

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

Preview Lab → · Contrast checker → · Palette generator →

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