#A62727#A62727

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

Color values

HEX#A62727
RGBrgb(166, 39, 39)
HSLhsl(0, 62%, 40%)
HSVhsv(0, 77%, 65%)
CMYKcmyk(0%, 76.5%, 76.5%, 34.9%)
CIE-LABlab(37.31, 50.92, 32.14)
CIE-LCHlch(37.31, 60.22, 32.26°)
OKLaboklab(47.93% 0.1471 0.0716)
OKLCHoklch(47.93% 0.164 25.9)
XYZxyz(16.8196, 9.7071, 2.9071)
Luminance0.0970 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A62727 #27A6A6
analogous
#A62766 #A62727 #A66627
triadic
#A62727 #27A627 #2727A6
tetradic
#A62727 #66A627 #27A6A6 #6627A6
square
#A62727 #66A627 #27A6A6 #6627A6
split-complementary
#A62727 #27A666 #2766A6
monochromatic
#431010 #741B1B #A62727 #D13A3A #DC6B6B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A62727#FFFFFF#000000##FFFFFF
##A627271.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)
#4E4625
Deuteranopia (green-blind)
#6D6222
Tritanopia (blue-blind)
#B70029
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a62727;
/* rgb */ color: rgb(166, 39, 39);
/* oklch */ color: oklch(47.9% 0.164 25.9);
Tailwind
colors: {
  custom: {
    50: '#c96c61',
    500: '#a62727',
    950: '#000000',
  },
}
SCSS
$custom: #a62727;
$custom-light: #c96c61;
$custom-dark: #000000;
JSON
{
  "hex": "#a62727",
  "rgb": {
    "r": 166,
    "g": 39,
    "b": 39
  },
  "hsl": {
    "h": 0,
    "s": 61.951,
    "l": 40.196
  },
  "oklch": {
    "l": 0.47925,
    "c": 0.16361,
    "h": 25.9
  },
  "luminance": 0.09705
}

Semantic roles & 50–950 ramp

primary
#A62727
secondary
#66C3C3
accent
#E5E543
background
#FDF6F5
surface
#FAECEA
border
#D3C7C6
text
#150705
muted
#837A79

Preview Lab

Preview with #A62727

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

Preview Lab → · Contrast checker → · Palette generator →

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