#A62828#A62828

#A62828 is a mid, vivid red. Relative luminance 0.098; OKLCH L 48.0% C 0.163 H 25.8°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#A62828
RGBrgb(166, 40, 40)
HSLhsl(0, 61%, 40%)
HSVhsv(0, 76%, 65%)
CMYKcmyk(0%, 75.9%, 75.9%, 34.9%)
CIE-LABlab(37.45, 50.62, 31.70)
CIE-LCHlch(37.45, 59.73, 32.05°)
OKLaboklab(48.03% 0.1464 0.0709)
OKLCHoklch(48.03% 0.163 25.8)
XYZxyz(16.8696, 9.7804, 3.0066)
Luminance0.0978 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A62828 #28A6A6
analogous
#A62867 #A62828 #A66728
triadic
#A62828 #28A628 #2828A6
tetradic
#A62828 #67A628 #28A6A6 #6728A6
square
#A62828 #67A628 #28A6A6 #6728A6
split-complementary
#A62828 #28A667 #2867A6
monochromatic
#431010 #751C1C #A62828 #D03B3B #DC6D6D

Accessibility & contrast

On white

7.11
#A62828 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#A62828 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A62828
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A62828#FFFFFF#000000##FFFFFF
##A628281.007.112.967.11
#FFFFFF7.111.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4726
Deuteranopia (green-blind)
#6D6223
Tritanopia (blue-blind)
#B7002A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a62828;
/* rgb */ color: rgb(166, 40, 40);
/* oklch */ color: oklch(48.0% 0.163 25.8);
Tailwind
colors: {
  custom: {
    50: '#c96d62',
    500: '#a62828',
    950: '#000000',
  },
}
SCSS
$custom: #a62828;
$custom-light: #c96d62;
$custom-dark: #000000;
JSON
{
  "hex": "#a62828",
  "rgb": {
    "r": 166,
    "g": 40,
    "b": 40
  },
  "hsl": {
    "h": 0,
    "s": 61.165,
    "l": 40.392
  },
  "oklch": {
    "l": 0.48028,
    "c": 0.16266,
    "h": 25.8
  },
  "luminance": 0.09778
}

Semantic roles & 50–950 ramp

primary
#A62828
secondary
#67C2C2
accent
#E4E444
background
#FDF6F5
surface
#FAECEA
border
#D3C7C6
text
#150805
muted
#837B79

Preview Lab

Preview with #A62828

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

Preview Lab → · Contrast checker → · Palette generator →

#A62828 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva