#5A1027#5A1027

#5A1027 is a dark, moderate pink. Relative luminance 0.027; OKLCH L 31.3% C 0.106 H 7.7°. Best body text is #FFFFFF at 13.65:1 contrast (WCAG AA passes).

Color values

HEX#5A1027
RGBrgb(90, 16, 39)
HSLhsl(341, 70%, 21%)
HSVhsv(341, 82%, 35%)
CMYKcmyk(0%, 82.2%, 56.7%, 64.7%)
CIE-LABlab(18.76, 34.57, 5.57)
CIE-LCHlch(18.76, 35.01, 9.15°)
OKLaboklab(31.34% 0.1053 0.0143)
OKLCHoklch(31.34% 0.106 7.7)
XYZxyz(4.7684, 2.6914, 2.1875)
Luminance0.0269 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A1027 #105A43
analogous
#5A104C #5A1027 #5A1E10
triadic
#5A1027 #275A10 #10275A
tetradic
#5A1027 #4C5A10 #105A43 #1E105A
square
#5A1027 #4C5A10 #105A43 #1E105A
split-complementary
#5A1027 #105A1E #104C5A
monochromatic
#1A050B #260710 #5A1027 #8E193E #C22254

Accessibility & contrast

On white

13.65
#5A1027 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#5A1027 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A1027
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A1027#FFFFFF#000000##FFFFFF
##5A10271.0013.651.5413.65
#FFFFFF13.651.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232427
Deuteranopia (green-blind)
#363325
Tritanopia (blue-blind)
#63001A
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #5a1027;
/* rgb */ color: rgb(90, 16, 39);
/* oklch */ color: oklch(31.3% 0.106 7.7);
Tailwind
colors: {
  custom: {
    50: '#8d5660',
    500: '#5a1027',
    950: '#000000',
  },
}
SCSS
$custom: #5a1027;
$custom-light: #8d5660;
$custom-dark: #000000;
JSON
{
  "hex": "#5a1027",
  "rgb": {
    "r": 90,
    "g": 16,
    "b": 39
  },
  "hsl": {
    "h": 341.351,
    "s": 69.811,
    "l": 20.784
  },
  "oklch": {
    "l": 0.3134,
    "c": 0.10628,
    "h": 7.7
  },
  "luminance": 0.02691
}

Semantic roles & 50–950 ramp

primary
#5A1027
secondary
#339375
accent
#EDB53B
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0305
muted
#7E7879

Preview Lab

Preview with #5A1027

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

Preview Lab → · Contrast checker → · Palette generator →

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