#5A0F3E#5A0F3E

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

Color values

HEX#5A0F3E
RGBrgb(90, 15, 62)
HSLhsl(322, 71%, 21%)
HSVhsv(322, 83%, 35%)
CMYKcmyk(0%, 83.3%, 31.1%, 64.7%)
CIE-LABlab(19.49, 37.53, -9.62)
CIE-LCHlch(19.49, 38.75, 345.62°)
OKLaboklab(32.15% 0.1144 -0.0254)
OKLCHoklch(32.15% 0.117 347.5)
XYZxyz(5.2570, 2.8637, 4.8324)
Luminance0.0286 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A0F3E #0F5A2B
analogous
#500F5A #5A0F3E #5A0F18
triadic
#5A0F3E #3E5A0F #0F3E5A
tetradic
#5A0F3E #5A500F #0F5A2B #0F185A
square
#5A0F3E #5A500F #0F5A2B #0F185A
split-complementary
#5A0F3E #185A0F #0F5A50
monochromatic
#1A0412 #26061A #5A0F3E #8E1862 #C32086

Accessibility & contrast

On white

13.35
#5A0F3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A0F3E
13.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A0F3E#FFFFFF#000000##FFFFFF
##5A0F3E1.0013.351.5713.35
#FFFFFF13.351.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B273F
Deuteranopia (green-blind)
#31343C
Tritanopia (blue-blind)
#610C25
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5a0f3e;
/* rgb */ color: rgb(90, 15, 62);
/* oklch */ color: oklch(32.1% 0.117 347.5);
Tailwind
colors: {
  custom: {
    50: '#8c5773',
    500: '#5a0f3e',
    950: '#000000',
  },
}
SCSS
$custom: #5a0f3e;
$custom-light: #8c5773;
$custom-dark: #000000;
JSON
{
  "hex": "#5a0f3e",
  "rgb": {
    "r": 90,
    "g": 15,
    "b": 62
  },
  "hsl": {
    "h": 322.4,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.32149,
    "c": 0.11719,
    "h": 347.5
  },
  "luminance": 0.02863
}

Semantic roles & 50–950 ramp

primary
#5A0F3E
secondary
#319456
accent
#EE7D3A
background
#F8F5F6
surface
#F0E9EC
border
#CBC5C7
text
#0C0308
muted
#7D787B

Preview Lab

Preview with #5A0F3E

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

Preview Lab → · Contrast checker → · Palette generator →

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