#5A0F30#5A0F30

#5A0F30 is a dark, moderate pink. Relative luminance 0.027; OKLCH L 31.6% C 0.110 H 359.4°. Best body text is #FFFFFF at 13.59:1 contrast (WCAG AA passes).

Color values

HEX#5A0F30
RGBrgb(90, 15, 48)
HSLhsl(334, 71%, 21%)
HSVhsv(334, 83%, 35%)
CMYKcmyk(0%, 83.3%, 46.7%, 64.7%)
CIE-LABlab(18.93, 35.82, -0.61)
CIE-LCHlch(18.93, 35.82, 359.02°)
OKLaboklab(31.55% 0.1101 -0.0012)
OKLCHoklch(31.55% 0.11 359.4)
XYZxyz(4.9212, 2.7294, 3.0634)
Luminance0.0273 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A0F30 #0F5A39
analogous
#5A0F55 #5A0F30 #5A130F
triadic
#5A0F30 #305A0F #0F305A
tetradic
#5A0F30 #555A0F #0F5A39 #130F5A
square
#5A0F30 #555A0F #0F5A39 #130F5A
split-complementary
#5A0F30 #0F5A13 #0F555A
monochromatic
#1A040E #260614 #5A0F30 #8E184C #C32068

Accessibility & contrast

On white

13.59
#5A0F30 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A0F30
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A0F30#FFFFFF#000000##FFFFFF
##5A0F301.0013.591.5513.59
#FFFFFF13.591.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202531
Deuteranopia (green-blind)
#34332E
Tritanopia (blue-blind)
#62031E
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #5a0f30;
/* rgb */ color: rgb(90, 15, 48);
/* oklch */ color: oklch(31.6% 0.110 359.4);
Tailwind
colors: {
  custom: {
    50: '#8d5668',
    500: '#5a0f30',
    950: '#000000',
  },
}
SCSS
$custom: #5a0f30;
$custom-light: #8d5668;
$custom-dark: #000000;
JSON
{
  "hex": "#5a0f30",
  "rgb": {
    "r": 90,
    "g": 15,
    "b": 48
  },
  "hsl": {
    "h": 333.6,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.31553,
    "c": 0.11007,
    "h": 359.4
  },
  "luminance": 0.02729
}

Semantic roles & 50–950 ramp

primary
#5A0F30
secondary
#319468
accent
#EE9F3A
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0306
muted
#7E787A

Preview Lab

Preview with #5A0F30

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

Preview Lab → · Contrast checker → · Palette generator →

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