#A62627#A62627

#A62627 is a mid, vivid red. Relative luminance 0.096; OKLCH L 47.8% C 0.164 H 25.7°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#A62627
RGBrgb(166, 38, 39)
HSLhsl(360, 63%, 40%)
HSVhsv(360, 77%, 65%)
CMYKcmyk(0%, 77.1%, 76.5%, 34.9%)
CIE-LABlab(37.19, 51.25, 32.01)
CIE-LCHlch(37.19, 60.43, 31.99°)
OKLaboklab(47.84% 0.1482 0.0713)
OKLCHoklch(47.84% 0.164 25.7)
XYZxyz(16.7872, 9.6423, 2.8963)
Luminance0.0964 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A62627 #26A6A5
analogous
#A62667 #A62627 #A66526
triadic
#A62627 #27A626 #2627A6
tetradic
#A62627 #67A626 #26A6A5 #6526A6
square
#A62627 #67A626 #26A6A5 #6526A6
split-complementary
#A62627 #26A665 #2667A6
monochromatic
#420F10 #741B1B #A62627 #D13839 #DD6A6B

Accessibility & contrast

On white

7.17
#A62627 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#A62627 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A62627
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A62627#FFFFFF#000000##FFFFFF
##A626271.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4625
Deuteranopia (green-blind)
#6D6122
Tritanopia (blue-blind)
#B70028
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a62627;
/* rgb */ color: rgb(166, 38, 39);
/* oklch */ color: oklch(47.8% 0.164 25.7);
Tailwind
colors: {
  custom: {
    50: '#c96c61',
    500: '#a62627',
    950: '#000000',
  },
}
SCSS
$custom: #a62627;
$custom-light: #c96c61;
$custom-dark: #000000;
JSON
{
  "hex": "#a62627",
  "rgb": {
    "r": 166,
    "g": 38,
    "b": 39
  },
  "hsl": {
    "h": 359.531,
    "s": 62.745,
    "l": 40
  },
  "oklch": {
    "l": 0.47836,
    "c": 0.16443,
    "h": 25.7
  },
  "luminance": 0.0964
}

Semantic roles & 50–950 ramp

primary
#A62627
secondary
#65C3C2
accent
#E6E542
background
#FDF6F5
surface
#FAECEA
border
#D3C7C6
text
#150705
muted
#837A79

Preview Lab

Preview with #A62627

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

Preview Lab → · Contrast checker → · Palette generator →

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