#A22840#A22840

#A22840 is a mid, vivid red. Relative luminance 0.096; OKLCH L 47.7% C 0.157 H 14.6°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#A22840
RGBrgb(162, 40, 64)
HSLhsl(348, 60%, 40%)
HSVhsv(348, 75%, 64%)
CMYKcmyk(0%, 75.3%, 60.5%, 36.5%)
CIE-LABlab(37.06, 50.69, 16.13)
CIE-LCHlch(37.06, 53.20, 17.65°)
OKLaboklab(47.73% 0.1523 0.0396)
OKLCHoklch(47.73% 0.157 14.6)
XYZxyz(16.5862, 9.5715, 5.8236)
Luminance0.0957 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22840 #28A28A
analogous
#A2287D #A22840 #A24D28
triadic
#A22840 #40A228 #2840A2
tetradic
#A22840 #7DA228 #28A28A #4D28A2
square
#A22840 #7DA228 #28A28A #4D28A2
split-complementary
#A22840 #28A24D #287DA2
monochromatic
#401019 #711C2D #A22840 #CE3956 #DA6A80

Accessibility & contrast

On white

7.21
#A22840 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#A22840 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A22840
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22840#FFFFFF#000000##FFFFFF
##A228401.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494740
Deuteranopia (green-blind)
#68603D
Tritanopia (blue-blind)
#B20032
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a22840;
/* rgb */ color: rgb(162, 40, 64);
/* oklch */ color: oklch(47.7% 0.157 14.6);
Tailwind
colors: {
  custom: {
    50: '#c46d74',
    500: '#a22840',
    950: '#000000',
  },
}
SCSS
$custom: #a22840;
$custom-light: #c46d74;
$custom-dark: #000000;
JSON
{
  "hex": "#a22840",
  "rgb": {
    "r": 162,
    "g": 40,
    "b": 64
  },
  "hsl": {
    "h": 348.197,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.4773,
    "c": 0.15735,
    "h": 14.6
  },
  "luminance": 0.09569
}

Semantic roles & 50–950 ramp

primary
#A22840
secondary
#65C1AF
accent
#E4C444
background
#FCF6F7
surface
#F9ECED
border
#D2C7C8
text
#140808
muted
#827B7B

Preview Lab

Preview with #A22840

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

Preview Lab → · Contrast checker → · Palette generator →

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