#5F1130#5F1130

#5F1130 is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.7% C 0.113 H 2.1°. Best body text is #FFFFFF at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#5F1130
RGBrgb(95, 17, 48)
HSLhsl(336, 70%, 22%)
HSVhsv(336, 82%, 37%)
CMYKcmyk(0%, 82.1%, 49.5%, 62.7%)
CIE-LABlab(20.23, 36.67, 1.42)
CIE-LCHlch(20.23, 36.69, 2.22°)
OKLaboklab(32.71% 0.1125 0.0041)
OKLCHoklch(32.71% 0.113 2.1)
XYZxyz(5.4537, 3.0479, 3.0969)
Luminance0.0305 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1130 #115F40
analogous
#5F1157 #5F1130 #5F1911
triadic
#5F1130 #305F11 #11305F
tetradic
#5F1130 #575F11 #115F40 #19115F
square
#5F1130 #575F11 #115F40 #19115F
split-complementary
#5F1130 #115F19 #11575F
monochromatic
#1A050D #2B0816 #5F1130 #931A4A #C72464

Accessibility & contrast

On white

13.05
#5F1130 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F1130
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1130#FFFFFF#000000##FFFFFF
##5F11301.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242731
Deuteranopia (green-blind)
#38362E
Tritanopia (blue-blind)
#68021F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5f1130;
/* rgb */ color: rgb(95, 17, 48);
/* oklch */ color: oklch(32.7% 0.113 2.1);
Tailwind
colors: {
  custom: {
    50: '#915868',
    500: '#5f1130',
    950: '#000000',
  },
}
SCSS
$custom: #5f1130;
$custom-light: #915868;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1130",
  "rgb": {
    "r": 95,
    "g": 17,
    "b": 48
  },
  "hsl": {
    "h": 336.154,
    "s": 69.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.32708,
    "c": 0.11255,
    "h": 2.1
  },
  "luminance": 0.03047
}

Semantic roles & 50–950 ramp

primary
#5F1130
secondary
#349870
accent
#ECA63B
background
#F9F5F6
surface
#F2E9EB
border
#CCC5C6
text
#0D0406
muted
#7E797A

Preview Lab

Preview with #5F1130

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

Preview Lab → · Contrast checker → · Palette generator →

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