#5A0F33#5A0F33

#5A0F33 is a dark, moderate pink. Relative luminance 0.028; OKLCH L 31.7% C 0.111 H 356.7°. Best body text is #FFFFFF at 13.54:1 contrast (WCAG AA passes).

Color values

HEX#5A0F33
RGBrgb(90, 15, 51)
HSLhsl(331, 71%, 21%)
HSVhsv(331, 83%, 35%)
CMYKcmyk(0%, 83.3%, 43.3%, 64.7%)
CIE-LABlab(19.03, 36.15, -2.58)
CIE-LCHlch(19.03, 36.24, 355.92°)
OKLaboklab(31.67% 0.1111 -0.0063)
OKLCHoklch(31.67% 0.111 356.7)
XYZxyz(4.9852, 2.7550, 3.4006)
Luminance0.0275 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A0F33 #0F5A36
analogous
#5A0F58 #5A0F33 #5A100F
triadic
#5A0F33 #335A0F #0F335A
tetradic
#5A0F33 #585A0F #0F5A36 #100F5A
square
#5A0F33 #585A0F #0F5A36 #100F5A
split-complementary
#5A0F33 #0F5A10 #0F585A
monochromatic
#1A040F #260615 #5A0F33 #8E1851 #C3206E

Accessibility & contrast

On white

13.54
#5A0F33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A0F33
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A0F33#FFFFFF#000000##FFFFFF
##5A0F331.0013.541.5513.54
#FFFFFF13.541.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5a0f33;
/* rgb */ color: rgb(90, 15, 51);
/* oklch */ color: oklch(31.7% 0.111 356.7);
Tailwind
colors: {
  custom: {
    50: '#8d566a',
    500: '#5a0f33',
    950: '#000000',
  },
}
SCSS
$custom: #5a0f33;
$custom-light: #8d566a;
$custom-dark: #000000;
JSON
{
  "hex": "#5a0f33",
  "rgb": {
    "r": 90,
    "g": 15,
    "b": 51
  },
  "hsl": {
    "h": 331.2,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.31669,
    "c": 0.11132,
    "h": 356.7
  },
  "luminance": 0.02754
}

Semantic roles & 50–950 ramp

primary
#5A0F33
secondary
#319464
accent
#EE983A
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0306
muted
#7E787A

Preview Lab

Preview with #5A0F33

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

Preview Lab → · Contrast checker → · Palette generator →

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