#5F1129#5F1129

#5F1129 is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.5% C 0.111 H 8.1°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#5F1129
RGBrgb(95, 17, 41)
HSLhsl(342, 70%, 22%)
HSVhsv(342, 82%, 37%)
CMYKcmyk(0%, 82.1%, 56.8%, 62.7%)
CIE-LABlab(20.02, 36.00, 6.07)
CIE-LCHlch(20.02, 36.51, 9.57°)
OKLaboklab(32.48% 0.1096 0.0156)
OKLCHoklch(32.48% 0.111 8.1)
XYZxyz(5.3205, 2.9946, 2.3953)
Luminance0.0299 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1129 #115F47
analogous
#5F1150 #5F1129 #5F2011
triadic
#5F1129 #295F11 #11295F
tetradic
#5F1129 #505F11 #115F47 #20115F
square
#5F1129 #505F11 #115F47 #20115F
split-complementary
#5F1129 #115F20 #11505F
monochromatic
#1A050B #2B0813 #5F1129 #931A3F #C72456

Accessibility & contrast

On white

13.13
#5F1129 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F1129
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1129#FFFFFF#000000##FFFFFF
##5F11291.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252629
Deuteranopia (green-blind)
#3A3627
Tritanopia (blue-blind)
#68001B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5f1129;
/* rgb */ color: rgb(95, 17, 41);
/* oklch */ color: oklch(32.5% 0.111 8.1);
Tailwind
colors: {
  custom: {
    50: '#915862',
    500: '#5f1129',
    950: '#000000',
  },
}
SCSS
$custom: #5f1129;
$custom-light: #915862;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1129",
  "rgb": {
    "r": 95,
    "g": 17,
    "b": 41
  },
  "hsl": {
    "h": 341.538,
    "s": 69.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.32482,
    "c": 0.11071,
    "h": 8.1
  },
  "luminance": 0.02994
}

Semantic roles & 50–950 ramp

primary
#5F1129
secondary
#349879
accent
#ECB63B
background
#F9F5F5
surface
#F2E9EA
border
#CCC5C6
text
#0E0405
muted
#7E7979

Preview Lab

Preview with #5F1129

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

Preview Lab → · Contrast checker → · Palette generator →

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