#5F1236#5F1236

#5F1236 is a dark, moderate pink. Relative luminance 0.031; OKLCH L 33.0% C 0.114 H 357.2°. Best body text is #FFFFFF at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#5F1236
RGBrgb(95, 18, 54)
HSLhsl(332, 68%, 22%)
HSVhsv(332, 81%, 37%)
CMYKcmyk(0%, 81.1%, 43.2%, 62.7%)
CIE-LABlab(20.57, 36.96, -2.31)
CIE-LCHlch(20.57, 37.04, 356.43°)
OKLaboklab(33.02% 0.1136 -0.0056)
OKLCHoklch(33.02% 0.114 357.2)
XYZxyz(5.6019, 3.1326, 3.7990)
Luminance0.0313 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1236 #125F3B
analogous
#5F125D #5F1236 #5F1412
triadic
#5F1236 #365F12 #12365F
tetradic
#5F1236 #5D5F12 #125F3B #14125F
square
#5F1236 #5D5F12 #125F3B #14125F
split-complementary
#5F1236 #125F14 #125D5F
monochromatic
#1A050F #2C0819 #5F1236 #921C53 #C62570

Accessibility & contrast

On white

12.91
#5F1236 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#5F1236 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1236
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1236#FFFFFF#000000##FFFFFF
##5F12361.0012.911.6312.91
#FFFFFF12.911.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222837
Deuteranopia (green-blind)
#373734
Tritanopia (blue-blind)
#670722
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5f1236;
/* rgb */ color: rgb(95, 18, 54);
/* oklch */ color: oklch(33.0% 0.114 357.2);
Tailwind
colors: {
  custom: {
    50: '#90586c',
    500: '#5f1236',
    950: '#000000',
  },
}
SCSS
$custom: #5f1236;
$custom-light: #90586c;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1236",
  "rgb": {
    "r": 95,
    "g": 18,
    "b": 54
  },
  "hsl": {
    "h": 331.948,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.3302,
    "c": 0.11372,
    "h": 357.2
  },
  "luminance": 0.03132
}

Semantic roles & 50–950 ramp

primary
#5F1236
secondary
#36976A
accent
#EB9A3D
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0407
muted
#7E797A

Preview Lab

Preview with #5F1236

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

Preview Lab → · Contrast checker → · Palette generator →

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