#5A0F41#5A0F41

#5A0F41 is a dark, moderate pink. Relative luminance 0.029; OKLCH L 32.3% C 0.119 H 345.1°. Best body text is #FFFFFF at 13.30:1 contrast (WCAG AA passes).

Color values

HEX#5A0F41
RGBrgb(90, 15, 65)
HSLhsl(320, 71%, 21%)
HSVhsv(320, 83%, 35%)
CMYKcmyk(0%, 83.3%, 27.8%, 64.7%)
CIE-LABlab(19.63, 37.95, -11.49)
CIE-LCHlch(19.63, 39.65, 343.15°)
OKLaboklab(32.3% 0.1151 -0.0306)
OKLCHoklch(32.3% 0.119 345.1)
XYZxyz(5.3416, 2.8976, 5.2780)
Luminance0.0290 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A0F41 #0F5A28
analogous
#4D0F5A #5A0F41 #5A0F1B
triadic
#5A0F41 #415A0F #0F415A
tetradic
#5A0F41 #5A4D0F #0F5A28 #0F1B5A
square
#5A0F41 #5A4D0F #0F5A28 #0F1B5A
split-complementary
#5A0F41 #1B5A0F #0F5A4D
monochromatic
#1A0413 #26061B #5A0F41 #8E1867 #C3208D

Accessibility & contrast

On white

13.30
#5A0F41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#5A0F41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A0F41
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A0F41#FFFFFF#000000##FFFFFF
##5A0F411.0013.301.5813.30
#FFFFFF13.301.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192742
Deuteranopia (green-blind)
#30343F
Tritanopia (blue-blind)
#610E27
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5a0f41;
/* rgb */ color: rgb(90, 15, 65);
/* oklch */ color: oklch(32.3% 0.119 345.1);
Tailwind
colors: {
  custom: {
    50: '#8c5775',
    500: '#5a0f41',
    950: '#000000',
  },
}
SCSS
$custom: #5a0f41;
$custom-light: #8c5775;
$custom-dark: #000000;
JSON
{
  "hex": "#5a0f41",
  "rgb": {
    "r": 90,
    "g": 15,
    "b": 65
  },
  "hsl": {
    "h": 320,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.32296,
    "c": 0.1191,
    "h": 345.1
  },
  "luminance": 0.02897
}

Semantic roles & 50–950 ramp

primary
#5A0F41
secondary
#319452
accent
#EE763A
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0C0308
muted
#7D787B

Preview Lab

Preview with #5A0F41

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

Preview Lab → · Contrast checker → · Palette generator →

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