#5A243E#5A243E

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

Color values

HEX#5A243E
RGBrgb(90, 36, 62)
HSLhsl(331, 43%, 25%)
HSVhsv(331, 60%, 35%)
CMYKcmyk(0%, 60%, 31.1%, 64.7%)
CIE-LABlab(22.94, 28.05, -4.41)
CIE-LCHlch(22.94, 28.39, 351.07°)
OKLaboklab(34.69% 0.085 -0.0113)
OKLCHoklch(34.69% 0.086 352.4)
XYZxyz(5.7171, 3.7838, 4.9857)
Luminance0.0378 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A243E #245A40
analogous
#5A2459 #5A243E #5A2524
triadic
#5A243E #3E5A24 #243E5A
tetradic
#5A243E #595A24 #245A40 #25245A
square
#5A243E #595A24 #245A40 #25245A
split-complementary
#5A243E #245A25 #24595A
monochromatic
#16090F #2E1320 #5A243E #86355C #B1477A

Accessibility & contrast

On white

11.95
#5A243E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A243E
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A243E#FFFFFF#000000##FFFFFF
##5A243E1.0011.951.7611.95
#FFFFFF11.951.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5a243e;
/* rgb */ color: rgb(90, 36, 62);
/* oklch */ color: oklch(34.7% 0.086 352.4);
Tailwind
colors: {
  custom: {
    50: '#8b6173',
    500: '#5a243e',
    950: '#000000',
  },
}
SCSS
$custom: #5a243e;
$custom-light: #8b6173;
$custom-dark: #000000;
JSON
{
  "hex": "#5a243e",
  "rgb": {
    "r": 90,
    "g": 36,
    "b": 62
  },
  "hsl": {
    "h": 331.111,
    "s": 42.857,
    "l": 24.706
  },
  "oklch": {
    "l": 0.34693,
    "c": 0.08576,
    "h": 352.4
  },
  "luminance": 0.03783
}

Semantic roles & 50–950 ramp

primary
#5A243E
secondary
#4C8E6E
accent
#D39655
background
#F8F5F6
surface
#F0EAEC
border
#CBC6C7
text
#0C0508
muted
#7D797B

Preview Lab

Preview with #5A243E

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

Preview Lab → · Contrast checker → · Palette generator →

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