#5A0F34#5A0F34

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

Color values

HEX#5A0F34
RGBrgb(90, 15, 52)
HSLhsl(330, 71%, 21%)
HSVhsv(330, 83%, 35%)
CMYKcmyk(0%, 83.3%, 42.2%, 64.7%)
CIE-LABlab(19.07, 36.27, -3.23)
CIE-LCHlch(19.07, 36.41, 354.91°)
OKLaboklab(31.71% 0.1115 -0.008)
OKLCHoklch(31.71% 0.112 355.9)
XYZxyz(5.0075, 2.7639, 3.5179)
Luminance0.0276 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A0F34 #0F5A35
analogous
#5A0F59 #5A0F34 #5A0F0F
triadic
#5A0F34 #345A0F #0F345A
tetradic
#5A0F34 #595A0F #0F5A35 #0F0F5A
square
#5A0F34 #595A0F #0F5A35 #0F0F5A
split-complementary
#5A0F34 #0F5A0F #0F595A
monochromatic
#1A040F #260616 #5A0F34 #8E1852 #C32071

Accessibility & contrast

On white

13.53
#5A0F34 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A0F34
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A0F34#FFFFFF#000000##FFFFFF
##5A0F341.0013.531.5513.53
#FFFFFF13.531.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2535
Deuteranopia (green-blind)
#343332
Tritanopia (blue-blind)
#620520
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #5a0f34;
/* rgb */ color: rgb(90, 15, 52);
/* oklch */ color: oklch(31.7% 0.112 355.9);
Tailwind
colors: {
  custom: {
    50: '#8d566b',
    500: '#5a0f34',
    950: '#000000',
  },
}
SCSS
$custom: #5a0f34;
$custom-light: #8d566b;
$custom-dark: #000000;
JSON
{
  "hex": "#5a0f34",
  "rgb": {
    "r": 90,
    "g": 15,
    "b": 52
  },
  "hsl": {
    "h": 330.4,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.31709,
    "c": 0.11177,
    "h": 355.9
  },
  "luminance": 0.02763
}

Semantic roles & 50–950 ramp

primary
#5A0F34
secondary
#319463
accent
#EE953A
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0306
muted
#7E787A

Preview Lab

Preview with #5A0F34

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

Preview Lab → · Contrast checker → · Palette generator →

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