#5A233A#5A233A

#5A233A is a dark, moderate pink. Relative luminance 0.037; OKLCH L 34.4% C 0.085 H 356.4°. Best body text is #FFFFFF at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#5A233A
RGBrgb(90, 35, 58)
HSLhsl(335, 44%, 25%)
HSVhsv(335, 61%, 35%)
CMYKcmyk(0%, 61.1%, 35.6%, 64.7%)
CIE-LABlab(22.59, 28.01, -2.20)
CIE-LCHlch(22.59, 28.09, 355.52°)
OKLaboklab(34.38% 0.0852 -0.0054)
OKLCHoklch(34.38% 0.085 356.4)
XYZxyz(5.5815, 3.6818, 4.4189)
Luminance0.0368 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A233A #235A43
analogous
#5A2356 #5A233A #5A2823
triadic
#5A233A #3A5A23 #233A5A
tetradic
#5A233A #565A23 #235A43 #28235A
square
#5A233A #565A23 #235A43 #28235A
split-complementary
#5A233A #235A28 #23565A
monochromatic
#16090E #2E121E #5A233A #863456 #B24573

Accessibility & contrast

On white

12.10
#5A233A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#5A233A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A233A
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A233A#FFFFFF#000000##FFFFFF
##5A233A1.0012.101.7412.10
#FFFFFF12.101.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B303B
Deuteranopia (green-blind)
#3A3A39
Tritanopia (blue-blind)
#611F2C
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #5a233a;
/* rgb */ color: rgb(90, 35, 58);
/* oklch */ color: oklch(34.4% 0.085 356.4);
Tailwind
colors: {
  custom: {
    50: '#8b6170',
    500: '#5a233a',
    950: '#000000',
  },
}
SCSS
$custom: #5a233a;
$custom-light: #8b6170;
$custom-dark: #000000;
JSON
{
  "hex": "#5a233a",
  "rgb": {
    "r": 90,
    "g": 35,
    "b": 58
  },
  "hsl": {
    "h": 334.909,
    "s": 44,
    "l": 24.51
  },
  "oklch": {
    "l": 0.34381,
    "c": 0.0854,
    "h": 356.4
  },
  "luminance": 0.03681
}

Semantic roles & 50–950 ramp

primary
#5A233A
secondary
#4B8E72
accent
#D49E54
background
#F8F5F6
surface
#F0EAEC
border
#CBC6C7
text
#0C0507
muted
#7D797A

Preview Lab

Preview with #5A233A

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

Preview Lab → · Contrast checker → · Palette generator →

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