#A62728#A62728

#A62728 is a mid, vivid red. Relative luminance 0.097; OKLCH L 47.9% C 0.163 H 25.6°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#A62728
RGBrgb(166, 39, 40)
HSLhsl(360, 62%, 40%)
HSVhsv(360, 77%, 65%)
CMYKcmyk(0%, 76.5%, 75.9%, 34.9%)
CIE-LABlab(37.32, 50.96, 31.56)
CIE-LCHlch(37.32, 59.94, 31.77°)
OKLaboklab(47.94% 0.1475 0.0706)
OKLCHoklch(47.94% 0.163 25.6)
XYZxyz(16.8364, 9.7139, 2.9955)
Luminance0.0971 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A62728 #27A6A5
analogous
#A62767 #A62728 #A66627
triadic
#A62728 #28A627 #2728A6
tetradic
#A62728 #67A627 #27A6A5 #6627A6
square
#A62728 #67A627 #27A6A5 #6627A6
split-complementary
#A62728 #27A666 #2767A6
monochromatic
#431010 #741B1C #A62728 #D13A3B #DC6B6C

Accessibility & contrast

On white

7.14
#A62728 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#A62728 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A62728
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A62728#FFFFFF#000000##FFFFFF
##A627281.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a62728;
/* rgb */ color: rgb(166, 39, 40);
/* oklch */ color: oklch(47.9% 0.163 25.6);
Tailwind
colors: {
  custom: {
    50: '#c96c62',
    500: '#a62728',
    950: '#000000',
  },
}
SCSS
$custom: #a62728;
$custom-light: #c96c62;
$custom-dark: #000000;
JSON
{
  "hex": "#a62728",
  "rgb": {
    "r": 166,
    "g": 39,
    "b": 40
  },
  "hsl": {
    "h": 359.528,
    "s": 61.951,
    "l": 40.196
  },
  "oklch": {
    "l": 0.47938,
    "c": 0.16349,
    "h": 25.6
  },
  "luminance": 0.09711
}

Semantic roles & 50–950 ramp

primary
#A62728
secondary
#66C3C2
accent
#E5E443
background
#FDF6F5
surface
#FAECEA
border
#D3C7C6
text
#150705
muted
#837A79

Preview Lab

Preview with #A62728

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

Preview Lab → · Contrast checker → · Palette generator →

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