#5A252D#5A252D

#5A252D is a dark, moderate red. Relative luminance 0.037; OKLCH L 34.3% C 0.078 H 12.8°. Best body text is #FFFFFF at 12.09:1 contrast (WCAG AA passes).

Color values

HEX#5A252D
RGBrgb(90, 37, 45)
HSLhsl(351, 42%, 25%)
HSVhsv(351, 59%, 35%)
CMYKcmyk(0%, 58.9%, 50%, 64.7%)
CIE-LABlab(22.61, 25.23, 6.76)
CIE-LCHlch(22.61, 26.12, 14.99°)
OKLaboklab(34.26% 0.0763 0.0174)
OKLCHoklch(34.26% 0.078 12.8)
XYZxyz(5.3520, 3.6868, 2.9119)
Luminance0.0369 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A252D #255A52
analogous
#5A2548 #5A252D #5A3725
triadic
#5A252D #2D5A25 #252D5A
tetradic
#5A252D #485A25 #255A52 #37255A
square
#5A252D #485A25 #255A52 #37255A
split-complementary
#5A252D #255A37 #25485A
monochromatic
#16090B #2F1317 #5A252D #853743 #B14958

Accessibility & contrast

On white

12.09
#5A252D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A252D
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A252D#FFFFFF#000000##FFFFFF
##5A252D1.0012.091.7412.09
#FFFFFF12.091.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302F2D
Deuteranopia (green-blind)
#3E3A2C
Tritanopia (blue-blind)
#621E28
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #5a252d;
/* rgb */ color: rgb(90, 37, 45);
/* oklch */ color: oklch(34.3% 0.078 12.8);
Tailwind
colors: {
  custom: {
    50: '#8c6265',
    500: '#5a252d',
    950: '#000000',
  },
}
SCSS
$custom: #5a252d;
$custom-light: #8c6265;
$custom-dark: #000000;
JSON
{
  "hex": "#5a252d",
  "rgb": {
    "r": 90,
    "g": 37,
    "b": 45
  },
  "hsl": {
    "h": 350.943,
    "s": 41.732,
    "l": 24.902
  },
  "oklch": {
    "l": 0.34262,
    "c": 0.07827,
    "h": 12.8
  },
  "luminance": 0.03686
}

Semantic roles & 50–950 ramp

primary
#5A252D
secondary
#4D8D84
accent
#D2BF56
background
#F8F5F6
surface
#F0EAEB
border
#CBC6C6
text
#0C0505
muted
#7D797A

Preview Lab

Preview with #5A252D

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

Preview Lab → · Contrast checker → · Palette generator →

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