#5F1029#5F1029

#5F1029 is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.4% C 0.112 H 7.8°. Best body text is #FFFFFF at 13.18:1 contrast (WCAG AA passes).

Color values

HEX#5F1029
RGBrgb(95, 16, 41)
HSLhsl(341, 71%, 22%)
HSVhsv(341, 83%, 37%)
CMYKcmyk(0%, 83.2%, 56.8%, 62.7%)
CIE-LABlab(19.90, 36.34, 5.90)
CIE-LCHlch(19.90, 36.82, 9.22°)
OKLaboklab(32.39% 0.1107 0.0151)
OKLCHoklch(32.39% 0.112 7.8)
XYZxyz(5.3053, 2.9643, 2.3902)
Luminance0.0296 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1029 #105F46
analogous
#5F1051 #5F1029 #5F1F10
triadic
#5F1029 #295F10 #10295F
tetradic
#5F1029 #515F10 #105F46 #1F105F
square
#5F1029 #515F10 #105F46 #1F105F
split-complementary
#5F1029 #105F1F #10515F
monochromatic
#1A040B #2B0712 #5F1029 #931940 #C82256

Accessibility & contrast

On white

13.18
#5F1029 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#5F1029 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1029
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1029#FFFFFF#000000##FFFFFF
##5F10291.0013.181.5913.18
#FFFFFF13.181.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5f1029;
/* rgb */ color: rgb(95, 16, 41);
/* oklch */ color: oklch(32.4% 0.112 7.8);
Tailwind
colors: {
  custom: {
    50: '#915762',
    500: '#5f1029',
    950: '#000000',
  },
}
SCSS
$custom: #5f1029;
$custom-light: #915762;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1029",
  "rgb": {
    "r": 95,
    "g": 16,
    "b": 41
  },
  "hsl": {
    "h": 341.013,
    "s": 71.171,
    "l": 21.765
  },
  "oklch": {
    "l": 0.32392,
    "c": 0.11175,
    "h": 7.8
  },
  "luminance": 0.02964
}

Semantic roles & 50–950 ramp

primary
#5F1029
secondary
#339878
accent
#EEB53A
background
#F9F5F5
surface
#F2E9EA
border
#CCC5C6
text
#0E0305
muted
#7E7879

Preview Lab

Preview with #5F1029

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

Preview Lab → · Contrast checker → · Palette generator →

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