#5F1126#5F1126

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

Color values

HEX#5F1126
RGBrgb(95, 17, 38)
HSLhsl(344, 70%, 22%)
HSVhsv(344, 82%, 37%)
CMYKcmyk(0%, 82.1%, 60%, 62.7%)
CIE-LABlab(19.94, 35.74, 8.08)
CIE-LCHlch(19.94, 36.64, 12.74°)
OKLaboklab(32.4% 0.1083 0.0203)
OKLCHoklch(32.4% 0.11 10.6)
XYZxyz(5.2701, 2.9745, 2.1300)
Luminance0.0297 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1126 #115F4A
analogous
#5F114D #5F1126 #5F2311
triadic
#5F1126 #265F11 #11265F
tetradic
#5F1126 #4D5F11 #115F4A #23115F
square
#5F1126 #4D5F11 #115F4A #23115F
split-complementary
#5F1126 #115F23 #114D5F
monochromatic
#1A050A #2B0811 #5F1126 #931A3B #C72450

Accessibility & contrast

On white

13.17
#5F1126 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F1126
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1126#FFFFFF#000000##FFFFFF
##5F11261.0013.171.5913.17
#FFFFFF13.171.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262626
Deuteranopia (green-blind)
#3A3624
Tritanopia (blue-blind)
#68001A
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5f1126;
/* rgb */ color: rgb(95, 17, 38);
/* oklch */ color: oklch(32.4% 0.110 10.6);
Tailwind
colors: {
  custom: {
    50: '#925860',
    500: '#5f1126',
    950: '#000000',
  },
}
SCSS
$custom: #5f1126;
$custom-light: #925860;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1126",
  "rgb": {
    "r": 95,
    "g": 17,
    "b": 38
  },
  "hsl": {
    "h": 343.846,
    "s": 69.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.32396,
    "c": 0.1102,
    "h": 10.6
  },
  "luminance": 0.02974
}

Semantic roles & 50–950 ramp

primary
#5F1126
secondary
#34987D
accent
#ECBD3B
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0404
muted
#7E7979

Preview Lab

Preview with #5F1126

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

Preview Lab → · Contrast checker → · Palette generator →

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