#5F1945#5F1945

#5F1945 is a dark, moderate pink. Relative luminance 0.036; OKLCH L 34.4% C 0.113 H 346.0°. Best body text is #FFFFFF at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#5F1945
RGBrgb(95, 25, 69)
HSLhsl(322, 58%, 24%)
HSVhsv(322, 74%, 37%)
CMYKcmyk(0%, 73.7%, 27.4%, 62.7%)
CIE-LABlab(22.15, 36.18, -10.29)
CIE-LCHlch(22.15, 37.61, 344.12°)
OKLaboklab(34.38% 0.1095 -0.0273)
OKLCHoklch(34.38% 0.113 346)
XYZxyz(6.1414, 3.5585, 5.9925)
Luminance0.0356 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1945 #195F33
analogous
#56195F #5F1945 #5F1922
triadic
#5F1945 #455F19 #19455F
tetradic
#5F1945 #5F5619 #195F33 #19225F
square
#5F1945 #5F5619 #195F33 #19225F
split-complementary
#5F1945 #225F19 #195F56
monochromatic
#180612 #2F0C22 #5F1945 #8F2668 #C0328B

Accessibility & contrast

On white

12.27
#5F1945 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#5F1945 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1945
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1945#FFFFFF#000000##FFFFFF
##5F19451.0012.271.7112.27
#FFFFFF12.271.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212D46
Deuteranopia (green-blind)
#363943
Tritanopia (blue-blind)
#66182C
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5f1945;
/* rgb */ color: rgb(95, 25, 69);
/* oklch */ color: oklch(34.4% 0.113 346.0);
Tailwind
colors: {
  custom: {
    50: '#8f5c78',
    500: '#5f1945',
    950: '#000000',
  },
}
SCSS
$custom: #5f1945;
$custom-light: #8f5c78;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1945",
  "rgb": {
    "r": 95,
    "g": 25,
    "b": 69
  },
  "hsl": {
    "h": 322.286,
    "s": 58.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.34381,
    "c": 0.11283,
    "h": 346
  },
  "luminance": 0.03558
}

Semantic roles & 50–950 ramp

primary
#5F1945
secondary
#3F955F
accent
#E28046
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0409
muted
#7E797B

Preview Lab

Preview with #5F1945

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

Preview Lab → · Contrast checker → · Palette generator →

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