#5A243F#5A243F

#5A243F is a dark, moderate pink. Relative luminance 0.038; OKLCH L 34.7% C 0.086 H 351.3°. Best body text is #FFFFFF at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#5A243F
RGBrgb(90, 36, 63)
HSLhsl(330, 43%, 25%)
HSVhsv(330, 60%, 35%)
CMYKcmyk(0%, 60%, 30%, 64.7%)
CIE-LABlab(22.98, 28.20, -5.03)
CIE-LCHlch(22.98, 28.65, 349.88°)
OKLaboklab(34.73% 0.0854 -0.013)
OKLCHoklch(34.73% 0.086 351.3)
XYZxyz(5.7448, 3.7948, 5.1316)
Luminance0.0379 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A243F #245A3F
analogous
#5A245A #5A243F #5A2424
triadic
#5A243F #3F5A24 #243F5A
tetradic
#5A243F #5A5A24 #245A3F #24245A
square
#5A243F #5A5A24 #245A3F #24245A
split-complementary
#5A243F #245A24 #245A5A
monochromatic
#16090F #2E1320 #5A243F #86355E #B1477C

Accessibility & contrast

On white

11.94
#5A243F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#5A243F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A243F
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A243F#FFFFFF#000000##FFFFFF
##5A243F1.0011.941.7611.94
#FFFFFF11.941.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3140
Deuteranopia (green-blind)
#393A3E
Tritanopia (blue-blind)
#60222E
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #5a243f;
/* rgb */ color: rgb(90, 36, 63);
/* oklch */ color: oklch(34.7% 0.086 351.3);
Tailwind
colors: {
  custom: {
    50: '#8b6174',
    500: '#5a243f',
    950: '#000000',
  },
}
SCSS
$custom: #5a243f;
$custom-light: #8b6174;
$custom-dark: #000000;
JSON
{
  "hex": "#5a243f",
  "rgb": {
    "r": 90,
    "g": 36,
    "b": 63
  },
  "hsl": {
    "h": 330,
    "s": 42.857,
    "l": 24.706
  },
  "oklch": {
    "l": 0.34734,
    "c": 0.08635,
    "h": 351.3
  },
  "luminance": 0.03794
}

Semantic roles & 50–950 ramp

primary
#5A243F
secondary
#4C8E6D
accent
#D39455
background
#F8F5F7
surface
#F0EAED
border
#CBC6C8
text
#0C0508
muted
#7D797B

Preview Lab

Preview with #5A243F

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

Preview Lab → · Contrast checker → · Palette generator →

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