#A62731#A62731

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

Color values

HEX#A62731
RGBrgb(166, 39, 49)
HSLhsl(355, 62%, 40%)
HSVhsv(355, 77%, 65%)
CMYKcmyk(0%, 76.5%, 70.5%, 34.9%)
CIE-LABlab(37.45, 51.37, 26.24)
CIE-LCHlch(37.45, 57.68, 27.06°)
OKLaboklab(48.07% 0.1508 0.0608)
OKLCHoklch(48.07% 0.163 22)
XYZxyz(17.0077, 9.7824, 3.8978)
Luminance0.0978 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A62731 #27A69C
analogous
#A62770 #A62731 #A65D27
triadic
#A62731 #31A627 #2731A6
tetradic
#A62731 #70A627 #27A69C #5D27A6
square
#A62731 #70A627 #27A69C #5D27A6
split-complementary
#A62731 #27A65D #2770A6
monochromatic
#431014 #741B22 #A62731 #D13A45 #DC6B74

Accessibility & contrast

On white

7.10
#A62731 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #A62731
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A62731#FFFFFF#000000##FFFFFF
##A627311.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4730
Deuteranopia (green-blind)
#6C622D
Tritanopia (blue-blind)
#B7002C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a62731;
/* rgb */ color: rgb(166, 39, 49);
/* oklch */ color: oklch(48.1% 0.163 22.0);
Tailwind
colors: {
  custom: {
    50: '#c86c69',
    500: '#a62731',
    950: '#000000',
  },
}
SCSS
$custom: #a62731;
$custom-light: #c86c69;
$custom-dark: #000000;
JSON
{
  "hex": "#a62731",
  "rgb": {
    "r": 166,
    "g": 39,
    "b": 49
  },
  "hsl": {
    "h": 355.276,
    "s": 61.951,
    "l": 40.196
  },
  "oklch": {
    "l": 0.48071,
    "c": 0.16258,
    "h": 22
  },
  "luminance": 0.0978
}

Semantic roles & 50–950 ramp

primary
#A62731
secondary
#66C3BB
accent
#E5D843
background
#FDF6F6
surface
#FAECEB
border
#D3C7C6
text
#150806
muted
#837B7A

Preview Lab

Preview with #A62731

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

Preview Lab → · Contrast checker → · Palette generator →

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