#5A243D#5A243D

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

Color values

HEX#5A243D
RGBrgb(90, 36, 61)
HSLhsl(332, 43%, 25%)
HSVhsv(332, 60%, 35%)
CMYKcmyk(0%, 60%, 32.2%, 64.7%)
CIE-LABlab(22.91, 27.90, -3.78)
CIE-LCHlch(22.91, 28.15, 352.28°)
OKLaboklab(34.65% 0.0847 -0.0096)
OKLCHoklch(34.65% 0.085 353.5)
XYZxyz(5.6899, 3.7729, 4.8426)
Luminance0.0377 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A243D #245A41
analogous
#5A2458 #5A243D #5A2624
triadic
#5A243D #3D5A24 #243D5A
tetradic
#5A243D #585A24 #245A41 #26245A
square
#5A243D #585A24 #245A41 #26245A
split-complementary
#5A243D #245A26 #24585A
monochromatic
#16090F #2E131F #5A243D #86355B #B14778

Accessibility & contrast

On white

11.97
#5A243D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#5A243D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A243D
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A243D#FFFFFF#000000##FFFFFF
##5A243D1.0011.971.7511.97
#FFFFFF11.971.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B313E
Deuteranopia (green-blind)
#3A3A3C
Tritanopia (blue-blind)
#61212E
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #5a243d;
/* rgb */ color: rgb(90, 36, 61);
/* oklch */ color: oklch(34.7% 0.085 353.5);
Tailwind
colors: {
  custom: {
    50: '#8b6172',
    500: '#5a243d',
    950: '#000000',
  },
}
SCSS
$custom: #5a243d;
$custom-light: #8b6172;
$custom-dark: #000000;
JSON
{
  "hex": "#5a243d",
  "rgb": {
    "r": 90,
    "g": 36,
    "b": 61
  },
  "hsl": {
    "h": 332.222,
    "s": 42.857,
    "l": 24.706
  },
  "oklch": {
    "l": 0.34653,
    "c": 0.0852,
    "h": 353.5
  },
  "luminance": 0.03772
}

Semantic roles & 50–950 ramp

primary
#5A243D
secondary
#4C8E6F
accent
#D39955
background
#F8F5F6
surface
#F0EAEC
border
#CBC6C7
text
#0C0508
muted
#7D797B

Preview Lab

Preview with #5A243D

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

Preview Lab → · Contrast checker → · Palette generator →

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