#A62127#A62127

#A62127 is a mid, vivid red. Relative luminance 0.093; OKLCH L 47.4% C 0.168 H 24.6°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#A62127
RGBrgb(166, 33, 39)
HSLhsl(357, 67%, 39%)
HSVhsv(357, 80%, 65%)
CMYKcmyk(0%, 80.1%, 76.5%, 34.9%)
CIE-LABlab(36.64, 52.81, 31.40)
CIE-LCHlch(36.64, 61.44, 30.73°)
OKLaboklab(47.42% 0.1531 0.0699)
OKLCHoklch(47.42% 0.168 24.6)
XYZxyz(16.6379, 9.3438, 2.8466)
Luminance0.0934 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A62127 #21A6A0
analogous
#A6216A #A62127 #A65E21
triadic
#A62127 #27A621 #2127A6
tetradic
#A62127 #6AA621 #21A6A0 #5E21A6
square
#A62127 #6AA621 #21A6A0 #5E21A6
split-complementary
#A62127 #21A65E #216AA6
monochromatic
#400D0F #73171B #A62127 #D62F36 #E06267

Accessibility & contrast

On white

7.32
#A62127 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#A62127 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A62127
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A62127#FFFFFF#000000##FFFFFF
##A621271.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4426
Deuteranopia (green-blind)
#6C6022
Tritanopia (blue-blind)
#B70025
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #a62127;
/* rgb */ color: rgb(166, 33, 39);
/* oklch */ color: oklch(47.4% 0.168 24.6);
Tailwind
colors: {
  custom: {
    50: '#c96a61',
    500: '#a62127',
    950: '#000000',
  },
}
SCSS
$custom: #a62127;
$custom-light: #c96a61;
$custom-dark: #000000;
JSON
{
  "hex": "#a62127",
  "rgb": {
    "r": 166,
    "g": 33,
    "b": 39
  },
  "hsl": {
    "h": 357.293,
    "s": 66.834,
    "l": 39.02
  },
  "oklch": {
    "l": 0.47424,
    "c": 0.16833,
    "h": 24.6
  },
  "luminance": 0.09341
}

Semantic roles & 50–950 ramp

primary
#A62127
secondary
#5EC5C0
accent
#EAE23E
background
#FDF6F5
surface
#FBECEA
border
#D4C7C6
text
#150705
muted
#837A79

Preview Lab

Preview with #A62127

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

Preview Lab → · Contrast checker → · Palette generator →

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