#5F1133#5F1133

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

Color values

HEX#5F1133
RGBrgb(95, 17, 51)
HSLhsl(334, 70%, 22%)
HSVhsv(334, 82%, 37%)
CMYKcmyk(0%, 82.1%, 46.3%, 62.7%)
CIE-LABlab(20.34, 36.98, -0.54)
CIE-LCHlch(20.34, 36.99, 359.16°)
OKLaboklab(32.82% 0.1136 -0.001)
OKLCHoklch(32.82% 0.114 359.5)
XYZxyz(5.5177, 3.0735, 3.4340)
Luminance0.0307 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1133 #115F3D
analogous
#5F115A #5F1133 #5F1611
triadic
#5F1133 #335F11 #11335F
tetradic
#5F1133 #5A5F11 #115F3D #16115F
square
#5F1133 #5A5F11 #115F3D #16115F
split-complementary
#5F1133 #115F16 #115A5F
monochromatic
#1A050E #2B0817 #5F1133 #931A4F #C7246B

Accessibility & contrast

On white

13.01
#5F1133 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F1133
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1133#FFFFFF#000000##FFFFFF
##5F11331.0013.011.6113.01
#FFFFFF13.011.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232834
Deuteranopia (green-blind)
#383631
Tritanopia (blue-blind)
#680420
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5f1133;
/* rgb */ color: rgb(95, 17, 51);
/* oklch */ color: oklch(32.8% 0.114 359.5);
Tailwind
colors: {
  custom: {
    50: '#91586a',
    500: '#5f1133',
    950: '#000000',
  },
}
SCSS
$custom: #5f1133;
$custom-light: #91586a;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1133",
  "rgb": {
    "r": 95,
    "g": 17,
    "b": 51
  },
  "hsl": {
    "h": 333.846,
    "s": 69.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.32815,
    "c": 0.11362,
    "h": 359.5
  },
  "luminance": 0.03073
}

Semantic roles & 50–950 ramp

primary
#5F1133
secondary
#34986C
accent
#EC9F3B
background
#F9F5F6
surface
#F2E9EB
border
#CCC5C6
text
#0D0406
muted
#7E797A

Preview Lab

Preview with #5F1133

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

Preview Lab → · Contrast checker → · Palette generator →

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