#5F1229#5F1229

#5F1229 is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.6% C 0.110 H 8.4°. Best body text is #FFFFFF at 13.08:1 contrast (WCAG AA passes).

Color values

HEX#5F1229
RGBrgb(95, 18, 41)
HSLhsl(342, 68%, 22%)
HSVhsv(342, 81%, 37%)
CMYKcmyk(0%, 81.1%, 56.8%, 62.7%)
CIE-LABlab(20.15, 35.64, 6.25)
CIE-LCHlch(20.15, 36.19, 9.94°)
OKLaboklab(32.57% 0.1085 0.016)
OKLCHoklch(32.57% 0.11 8.4)
XYZxyz(5.3364, 3.0264, 2.4005)
Luminance0.0303 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1229 #125F48
analogous
#5F1250 #5F1229 #5F2212
triadic
#5F1229 #295F12 #12295F
tetradic
#5F1229 #505F12 #125F48 #22125F
square
#5F1229 #505F12 #125F48 #22125F
split-complementary
#5F1229 #125F22 #12505F
monochromatic
#1A050B #2C0813 #5F1229 #921C3F #C62555

Accessibility & contrast

On white

13.08
#5F1229 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F1229
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1229#FFFFFF#000000##FFFFFF
##5F12291.0013.081.6113.08
#FFFFFF13.081.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262729
Deuteranopia (green-blind)
#3A3627
Tritanopia (blue-blind)
#68001C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5f1229;
/* rgb */ color: rgb(95, 18, 41);
/* oklch */ color: oklch(32.6% 0.110 8.4);
Tailwind
colors: {
  custom: {
    50: '#915862',
    500: '#5f1229',
    950: '#000000',
  },
}
SCSS
$custom: #5f1229;
$custom-light: #915862;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1229",
  "rgb": {
    "r": 95,
    "g": 18,
    "b": 41
  },
  "hsl": {
    "h": 342.078,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.32575,
    "c": 0.10963,
    "h": 8.4
  },
  "luminance": 0.03026
}

Semantic roles & 50–950 ramp

primary
#5F1229
secondary
#36977A
accent
#EBB73D
background
#F9F5F5
surface
#F2E9EA
border
#CCC5C6
text
#0E0405
muted
#7E7979

Preview Lab

Preview with #5F1229

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

Preview Lab → · Contrast checker → · Palette generator →

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