#5F2045#5F2045

#5F2045 is a dark, moderate pink. Relative luminance 0.039; OKLCH L 35.2% C 0.102 H 347.3°. Best body text is #FFFFFF at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#5F2045
RGBrgb(95, 32, 69)
HSLhsl(325, 50%, 25%)
HSVhsv(325, 66%, 37%)
CMYKcmyk(0%, 66.3%, 27.4%, 62.7%)
CIE-LABlab(23.33, 32.95, -8.51)
CIE-LCHlch(23.33, 34.04, 345.52°)
OKLaboklab(35.24% 0.0996 -0.0224)
OKLCHoklch(35.24% 0.102 347.3)
XYZxyz(6.3102, 3.8962, 6.0488)
Luminance0.0390 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F2045 #205F3A
analogous
#5A205F #5F2045 #5F2026
triadic
#5F2045 #455F20 #20455F
tetradic
#5F2045 #5F5A20 #205F3A #20265F
square
#5F2045 #5F5A20 #205F3A #20265F
split-complementary
#5F2045 #265F20 #205F5A
monochromatic
#170811 #311124 #5F2045 #8D2F66 #BB3F88

Accessibility & contrast

On white

11.80
#5F2045 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#5F2045 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F2045
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F2045#FFFFFF#000000##FFFFFF
##5F20451.0011.801.7811.80
#FFFFFF11.801.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#273146
Deuteranopia (green-blind)
#393C43
Tritanopia (blue-blind)
#661E2F
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #5f2045;
/* rgb */ color: rgb(95, 32, 69);
/* oklch */ color: oklch(35.2% 0.102 347.3);
Tailwind
colors: {
  custom: {
    50: '#8f6078',
    500: '#5f2045',
    950: '#000000',
  },
}
SCSS
$custom: #5f2045;
$custom-light: #8f6078;
$custom-dark: #000000;
JSON
{
  "hex": "#5f2045",
  "rgb": {
    "r": 95,
    "g": 32,
    "b": 69
  },
  "hsl": {
    "h": 324.762,
    "s": 49.606,
    "l": 24.902
  },
  "oklch": {
    "l": 0.35242,
    "c": 0.10206,
    "h": 347.3
  },
  "luminance": 0.03896
}

Semantic roles & 50–950 ramp

primary
#5F2045
secondary
#479367
accent
#D9884F
background
#F9F5F7
surface
#F1EAED
border
#CBC6C8
text
#0D0509
muted
#7E797B

Preview Lab

Preview with #5F2045

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

Preview Lab → · Contrast checker → · Palette generator →

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