#5F2245#5F2245

#5F2245 is a dark, moderate pink. Relative luminance 0.040; OKLCH L 35.5% C 0.099 H 347.8°. Best body text is #FFFFFF at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#5F2245
RGBrgb(95, 34, 69)
HSLhsl(326, 47%, 25%)
HSVhsv(326, 64%, 37%)
CMYKcmyk(0%, 64.2%, 27.4%, 62.7%)
CIE-LABlab(23.70, 31.95, -7.95)
CIE-LCHlch(23.70, 32.93, 346.03°)
OKLaboklab(35.52% 0.0965 -0.0209)
OKLCHoklch(35.52% 0.099 347.8)
XYZxyz(6.3658, 4.0072, 6.0673)
Luminance0.0401 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F2245 #225F3C
analogous
#5A225F #5F2245 #5F2226
triadic
#5F2245 #455F22 #22455F
tetradic
#5F2245 #5F5A22 #225F3C #22265F
square
#5F2245 #5F5A22 #225F3C #22265F
split-complementary
#5F2245 #265F22 #225F5A
monochromatic
#170810 #321224 #5F2245 #8C3266 #B94286

Accessibility & contrast

On white

11.66
#5F2245 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#5F2245 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F2245
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F2245#FFFFFF#000000##FFFFFF
##5F22451.0011.661.8011.66
#FFFFFF11.661.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293246
Deuteranopia (green-blind)
#3A3C44
Tritanopia (blue-blind)
#662030
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #5f2245;
/* rgb */ color: rgb(95, 34, 69);
/* oklch */ color: oklch(35.5% 0.099 347.8);
Tailwind
colors: {
  custom: {
    50: '#8f6178',
    500: '#5f2245',
    950: '#000000',
  },
}
SCSS
$custom: #5f2245;
$custom-light: #8f6178;
$custom-dark: #000000;
JSON
{
  "hex": "#5f2245",
  "rgb": {
    "r": 95,
    "g": 34,
    "b": 69
  },
  "hsl": {
    "h": 325.574,
    "s": 47.287,
    "l": 25.294
  },
  "oklch": {
    "l": 0.35515,
    "c": 0.09874,
    "h": 347.8
  },
  "luminance": 0.04007
}

Semantic roles & 50–950 ramp

primary
#5F2245
secondary
#4A9369
accent
#D78A51
background
#F9F5F7
surface
#F1EAED
border
#CBC6C8
text
#0D0509
muted
#7E797B

Preview Lab

Preview with #5F2245

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

Preview Lab → · Contrast checker → · Palette generator →

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