#5F2145#5F2145

#5F2145 is a dark, moderate pink. Relative luminance 0.040; OKLCH L 35.4% C 0.100 H 347.5°. Best body text is #FFFFFF at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#5F2145
RGBrgb(95, 33, 69)
HSLhsl(325, 48%, 25%)
HSVhsv(325, 65%, 37%)
CMYKcmyk(0%, 65.3%, 27.4%, 62.7%)
CIE-LABlab(23.51, 32.46, -8.23)
CIE-LCHlch(23.51, 33.49, 345.77°)
OKLaboklab(35.38% 0.0981 -0.0217)
OKLCHoklch(35.38% 0.1 347.5)
XYZxyz(6.3376, 3.9509, 6.0579)
Luminance0.0395 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F2145 #215F3B
analogous
#5A215F #5F2145 #5F2126
triadic
#5F2145 #455F21 #21455F
tetradic
#5F2145 #5F5A21 #215F3B #21265F
square
#5F2145 #5F5A21 #215F3B #21265F
split-complementary
#5F2145 #265F21 #215F5A
monochromatic
#170810 #321124 #5F2145 #8C3166 #BA4187

Accessibility & contrast

On white

11.73
#5F2145 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#5F2145 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F2145
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F2145#FFFFFF#000000##FFFFFF
##5F21451.0011.731.7911.73
#FFFFFF11.731.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5f2145;
/* rgb */ color: rgb(95, 33, 69);
/* oklch */ color: oklch(35.4% 0.100 347.5);
Tailwind
colors: {
  custom: {
    50: '#8f6078',
    500: '#5f2145',
    950: '#000000',
  },
}
SCSS
$custom: #5f2145;
$custom-light: #8f6078;
$custom-dark: #000000;
JSON
{
  "hex": "#5f2145",
  "rgb": {
    "r": 95,
    "g": 33,
    "b": 69
  },
  "hsl": {
    "h": 325.161,
    "s": 48.438,
    "l": 25.098
  },
  "oklch": {
    "l": 0.35377,
    "c": 0.10041,
    "h": 347.5
  },
  "luminance": 0.0395
}

Semantic roles & 50–950 ramp

primary
#5F2145
secondary
#499368
accent
#D88950
background
#F9F5F7
surface
#F1EAED
border
#CBC6C8
text
#0D0509
muted
#7E797B

Preview Lab

Preview with #5F2145

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

Preview Lab → · Contrast checker → · Palette generator →

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