#5A0F32#5A0F32

#5A0F32 is a dark, moderate pink. Relative luminance 0.027; OKLCH L 31.6% C 0.111 H 357.6°. Best body text is #FFFFFF at 13.56:1 contrast (WCAG AA passes).

Color values

HEX#5A0F32
RGBrgb(90, 15, 50)
HSLhsl(332, 71%, 21%)
HSVhsv(332, 83%, 35%)
CMYKcmyk(0%, 83.3%, 44.4%, 64.7%)
CIE-LABlab(19.00, 36.04, -1.93)
CIE-LCHlch(19.00, 36.09, 356.94°)
OKLaboklab(31.63% 0.1108 -0.0046)
OKLCHoklch(31.63% 0.111 357.6)
XYZxyz(4.9634, 2.7462, 3.2857)
Luminance0.0275 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A0F32 #0F5A37
analogous
#5A0F57 #5A0F32 #5A110F
triadic
#5A0F32 #325A0F #0F325A
tetradic
#5A0F32 #575A0F #0F5A37 #110F5A
square
#5A0F32 #575A0F #0F5A37 #110F5A
split-complementary
#5A0F32 #0F5A11 #0F575A
monochromatic
#1A040F #260615 #5A0F32 #8E184F #C3206C

Accessibility & contrast

On white

13.56
#5A0F32 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#5A0F32 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A0F32
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A0F32#FFFFFF#000000##FFFFFF
##5A0F321.0013.561.5513.56
#FFFFFF13.561.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2533
Deuteranopia (green-blind)
#343330
Tritanopia (blue-blind)
#62041F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #5a0f32;
/* rgb */ color: rgb(90, 15, 50);
/* oklch */ color: oklch(31.6% 0.111 357.6);
Tailwind
colors: {
  custom: {
    50: '#8d5669',
    500: '#5a0f32',
    950: '#000000',
  },
}
SCSS
$custom: #5a0f32;
$custom-light: #8d5669;
$custom-dark: #000000;
JSON
{
  "hex": "#5a0f32",
  "rgb": {
    "r": 90,
    "g": 15,
    "b": 50
  },
  "hsl": {
    "h": 332,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.31629,
    "c": 0.11089,
    "h": 357.6
  },
  "luminance": 0.02746
}

Semantic roles & 50–950 ramp

primary
#5A0F32
secondary
#319466
accent
#EE9A3A
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0306
muted
#7E787A

Preview Lab

Preview with #5A0F32

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

Preview Lab → · Contrast checker → · Palette generator →

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