#5A262E#5A262E

#5A262E is a dark, moderate red. Relative luminance 0.038; OKLCH L 34.5% C 0.077 H 12.4°. Best body text is #FFFFFF at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#5A262E
RGBrgb(90, 38, 46)
HSLhsl(351, 41%, 25%)
HSVhsv(351, 58%, 35%)
CMYKcmyk(0%, 57.8%, 48.9%, 64.7%)
CIE-LABlab(22.85, 24.78, 6.42)
CIE-LCHlch(22.85, 25.60, 14.51°)
OKLaboklab(34.46% 0.075 0.0165)
OKLCHoklch(34.46% 0.077 12.4)
XYZxyz(5.4031, 3.7577, 3.0250)
Luminance0.0376 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A262E #265A52
analogous
#5A2648 #5A262E #5A3826
triadic
#5A262E #2E5A26 #262E5A
tetradic
#5A262E #485A26 #265A52 #38265A
square
#5A262E #485A26 #265A52 #38265A
split-complementary
#5A262E #265A38 #26485A
monochromatic
#16090B #2F1418 #5A262E #853844 #B04A5A

Accessibility & contrast

On white

11.99
#5A262E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A262E
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A262E#FFFFFF#000000##FFFFFF
##5A262E1.0011.991.7511.99
#FFFFFF11.991.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31302E
Deuteranopia (green-blind)
#3E3A2D
Tritanopia (blue-blind)
#621F29
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #5a262e;
/* rgb */ color: rgb(90, 38, 46);
/* oklch */ color: oklch(34.5% 0.077 12.4);
Tailwind
colors: {
  custom: {
    50: '#8c6266',
    500: '#5a262e',
    950: '#000000',
  },
}
SCSS
$custom: #5a262e;
$custom-light: #8c6266;
$custom-dark: #000000;
JSON
{
  "hex": "#5a262e",
  "rgb": {
    "r": 90,
    "g": 38,
    "b": 46
  },
  "hsl": {
    "h": 350.769,
    "s": 40.625,
    "l": 25.098
  },
  "oklch": {
    "l": 0.34456,
    "c": 0.0768,
    "h": 12.4
  },
  "luminance": 0.03757
}

Semantic roles & 50–950 ramp

primary
#5A262E
secondary
#4F8D84
accent
#D0BE57
background
#F8F5F6
surface
#F0EAEB
border
#CBC6C6
text
#0C0506
muted
#7D797A

Preview Lab

Preview with #5A262E

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

Preview Lab → · Contrast checker → · Palette generator →

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