#5A0F3D#5A0F3D

#5A0F3D is a dark, moderate pink. Relative luminance 0.029; OKLCH L 32.1% C 0.117 H 348.3°. Best body text is #FFFFFF at 13.37:1 contrast (WCAG AA passes).

Color values

HEX#5A0F3D
RGBrgb(90, 15, 61)
HSLhsl(323, 71%, 21%)
HSVhsv(323, 83%, 35%)
CMYKcmyk(0%, 83.3%, 32.2%, 64.7%)
CIE-LABlab(19.44, 37.40, -8.99)
CIE-LCHlch(19.44, 38.46, 346.48°)
OKLaboklab(32.1% 0.1142 -0.0236)
OKLCHoklch(32.1% 0.117 348.3)
XYZxyz(5.2299, 2.8528, 4.6892)
Luminance0.0285 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A0F3D #0F5A2C
analogous
#510F5A #5A0F3D #5A0F17
triadic
#5A0F3D #3D5A0F #0F3D5A
tetradic
#5A0F3D #5A510F #0F5A2C #0F175A
square
#5A0F3D #5A510F #0F5A2C #0F175A
split-complementary
#5A0F3D #175A0F #0F5A51
monochromatic
#1A0412 #260619 #5A0F3D #8E1861 #C32084

Accessibility & contrast

On white

13.37
#5A0F3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#5A0F3D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A0F3D
13.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A0F3D#FFFFFF#000000##FFFFFF
##5A0F3D1.0013.371.5713.37
#FFFFFF13.371.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B273E
Deuteranopia (green-blind)
#31343B
Tritanopia (blue-blind)
#610B24
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5a0f3d;
/* rgb */ color: rgb(90, 15, 61);
/* oklch */ color: oklch(32.1% 0.117 348.3);
Tailwind
colors: {
  custom: {
    50: '#8c5772',
    500: '#5a0f3d',
    950: '#000000',
  },
}
SCSS
$custom: #5a0f3d;
$custom-light: #8c5772;
$custom-dark: #000000;
JSON
{
  "hex": "#5a0f3d",
  "rgb": {
    "r": 90,
    "g": 15,
    "b": 61
  },
  "hsl": {
    "h": 323.2,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.32102,
    "c": 0.11658,
    "h": 348.3
  },
  "luminance": 0.02852
}

Semantic roles & 50–950 ramp

primary
#5A0F3D
secondary
#319457
accent
#EE7F3A
background
#F8F5F6
surface
#F0E9EC
border
#CBC5C7
text
#0C0308
muted
#7D787B

Preview Lab

Preview with #5A0F3D

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

Preview Lab → · Contrast checker → · Palette generator →

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