#A42127#A42127

#A42127 is a mid, vivid red. Relative luminance 0.091; OKLCH L 47.1% C 0.166 H 24.4°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#A42127
RGBrgb(164, 33, 39)
HSLhsl(357, 66%, 39%)
HSVhsv(357, 80%, 64%)
CMYKcmyk(0%, 79.9%, 76.2%, 35.7%)
CIE-LABlab(36.23, 52.21, 30.83)
CIE-LCHlch(36.23, 60.63, 30.56°)
OKLaboklab(47.05% 0.1515 0.0689)
OKLCHoklch(47.05% 0.166 24.4)
XYZxyz(16.2218, 9.1293, 2.8271)
Luminance0.0913 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42127 #21A49E
analogous
#A42168 #A42127 #A45C21
triadic
#A42127 #27A421 #2127A4
tetradic
#A42127 #68A421 #21A49E #5C21A4
square
#A42127 #68A421 #21A49E #5C21A4
split-complementary
#A42127 #21A45C #2168A4
monochromatic
#3E0C0F #71171B #A42127 #D52D35 #DF6066

Accessibility & contrast

On white

7.43
#A42127 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#A42127 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A42127
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42127#FFFFFF#000000##FFFFFF
##A421271.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4326
Deuteranopia (green-blind)
#6A5F22
Tritanopia (blue-blind)
#B50025
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #a42127;
/* rgb */ color: rgb(164, 33, 39);
/* oklch */ color: oklch(47.1% 0.166 24.4);
Tailwind
colors: {
  custom: {
    50: '#c86961',
    500: '#a42127',
    950: '#000000',
  },
}
SCSS
$custom: #a42127;
$custom-light: #c86961;
$custom-dark: #000000;
JSON
{
  "hex": "#a42127",
  "rgb": {
    "r": 164,
    "g": 33,
    "b": 39
  },
  "hsl": {
    "h": 357.252,
    "s": 66.497,
    "l": 38.627
  },
  "oklch": {
    "l": 0.47051,
    "c": 0.16638,
    "h": 24.4
  },
  "luminance": 0.09127
}

Semantic roles & 50–950 ramp

primary
#A42127
secondary
#5DC4BF
accent
#E9E23E
background
#FDF6F5
surface
#FAECEA
border
#D3C7C6
text
#150705
muted
#837A79

Preview Lab

Preview with #A42127

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

Preview Lab → · Contrast checker → · Palette generator →

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