#A22542#A22542

#A22542 is a mid, vivid red. Relative luminance 0.094; OKLCH L 47.5% C 0.160 H 12.9°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#A22542
RGBrgb(162, 37, 66)
HSLhsl(346, 63%, 39%)
HSVhsv(346, 77%, 64%)
CMYKcmyk(0%, 77.2%, 59.3%, 36.5%)
CIE-LABlab(36.74, 51.84, 14.43)
CIE-LCHlch(36.74, 53.81, 15.55°)
OKLaboklab(47.51% 0.1563 0.0357)
OKLCHoklch(47.51% 0.16 12.9)
XYZxyz(16.5469, 9.4003, 6.0963)
Luminance0.0940 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22542 #25A285
analogous
#A22581 #A22542 #A24725
triadic
#A22542 #42A225 #2542A2
tetradic
#A22542 #81A225 #25A285 #4725A2
square
#A22542 #81A225 #25A285 #4725A2
split-complementary
#A22542 #25A247 #2581A2
monochromatic
#3E0E19 #701A2E #A22542 #D13458 #DC6581

Accessibility & contrast

On white

7.29
#A22542 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#A22542 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A22542
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22542#FFFFFF#000000##FFFFFF
##A225421.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474642
Deuteranopia (green-blind)
#67603F
Tritanopia (blue-blind)
#B20031
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #a22542;
/* rgb */ color: rgb(162, 37, 66);
/* oklch */ color: oklch(47.5% 0.160 12.9);
Tailwind
colors: {
  custom: {
    50: '#c46b76',
    500: '#a22542',
    950: '#000000',
  },
}
SCSS
$custom: #a22542;
$custom-light: #c46b76;
$custom-dark: #000000;
JSON
{
  "hex": "#a22542",
  "rgb": {
    "r": 162,
    "g": 37,
    "b": 66
  },
  "hsl": {
    "h": 346.08,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.47509,
    "c": 0.16037,
    "h": 12.9
  },
  "luminance": 0.09398
}

Semantic roles & 50–950 ramp

primary
#A22542
secondary
#61C2AB
accent
#E6C042
background
#FCF6F7
surface
#F9ECED
border
#D2C7C8
text
#140708
muted
#827A7B

Preview Lab

Preview with #A22542

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

Preview Lab → · Contrast checker → · Palette generator →

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