#5F1244#5F1244

#5F1244 is a dark, vivid pink. Relative luminance 0.033; OKLCH L 33.6% C 0.121 H 345.9°. Best body text is #FFFFFF at 12.68:1 contrast (WCAG AA passes).

Color values

HEX#5F1244
RGBrgb(95, 18, 68)
HSLhsl(321, 68%, 22%)
HSVhsv(321, 81%, 37%)
CMYKcmyk(0%, 81.1%, 28.4%, 62.7%)
CIE-LABlab(21.15, 38.75, -11.15)
CIE-LCHlch(21.15, 40.32, 343.95°)
OKLaboklab(33.63% 0.1177 -0.0296)
OKLCHoklch(33.63% 0.121 345.9)
XYZxyz(5.9793, 3.2835, 5.7866)
Luminance0.0328 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1244 #125F2D
analogous
#54125F #5F1244 #5F121D
triadic
#5F1244 #445F12 #12445F
tetradic
#5F1244 #5F5412 #125F2D #121D5F
square
#5F1244 #5F5412 #125F2D #121D5F
split-complementary
#5F1244 #1D5F12 #125F54
monochromatic
#1A0512 #2C081F #5F1244 #921C69 #C6258E

Accessibility & contrast

On white

12.68
#5F1244 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#5F1244 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1244
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1244#FFFFFF#000000##FFFFFF
##5F12441.0012.681.6612.68
#FFFFFF12.681.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2A45
Deuteranopia (green-blind)
#343742
Tritanopia (blue-blind)
#661029
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5f1244;
/* rgb */ color: rgb(95, 18, 68);
/* oklch */ color: oklch(33.6% 0.121 345.9);
Tailwind
colors: {
  custom: {
    50: '#905978',
    500: '#5f1244',
    950: '#000000',
  },
}
SCSS
$custom: #5f1244;
$custom-light: #905978;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1244",
  "rgb": {
    "r": 95,
    "g": 18,
    "b": 68
  },
  "hsl": {
    "h": 321.039,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.33631,
    "c": 0.12131,
    "h": 345.9
  },
  "luminance": 0.03283
}

Semantic roles & 50–950 ramp

primary
#5F1244
secondary
#369758
accent
#EB7A3D
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0408
muted
#7E797B

Preview Lab

Preview with #5F1244

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

Preview Lab → · Contrast checker → · Palette generator →

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