#A22742#A22742

#A22742 is a mid, vivid red. Relative luminance 0.095; OKLCH L 47.7% C 0.158 H 13.3°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#A22742
RGBrgb(162, 39, 66)
HSLhsl(347, 61%, 39%)
HSVhsv(347, 76%, 64%)
CMYKcmyk(0%, 75.9%, 59.3%, 36.5%)
CIE-LABlab(36.98, 51.18, 14.75)
CIE-LCHlch(36.98, 53.26, 16.07°)
OKLaboklab(47.69% 0.1542 0.0365)
OKLCHoklch(47.69% 0.158 13.3)
XYZxyz(16.6108, 9.5282, 6.1177)
Luminance0.0953 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22742 #27A287
analogous
#A22780 #A22742 #A24927
triadic
#A22742 #42A227 #2742A2
tetradic
#A22742 #80A227 #27A287 #4927A2
square
#A22742 #80A227 #27A287 #4927A2
split-complementary
#A22742 #27A249 #2780A2
monochromatic
#3F0F1A #711B2E #A22742 #CF3759 #DB6982

Accessibility & contrast

On white

7.23
#A22742 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #A22742
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22742#FFFFFF#000000##FFFFFF
##A227421.007.232.917.23
#FFFFFF7.231.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484742
Deuteranopia (green-blind)
#68603F
Tritanopia (blue-blind)
#B10032
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a22742;
/* rgb */ color: rgb(162, 39, 66);
/* oklch */ color: oklch(47.7% 0.158 13.3);
Tailwind
colors: {
  custom: {
    50: '#c46c76',
    500: '#a22742',
    950: '#000000',
  },
}
SCSS
$custom: #a22742;
$custom-light: #c46c76;
$custom-dark: #000000;
JSON
{
  "hex": "#a22742",
  "rgb": {
    "r": 162,
    "g": 39,
    "b": 66
  },
  "hsl": {
    "h": 346.829,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.47685,
    "c": 0.15844,
    "h": 13.3
  },
  "luminance": 0.09526
}

Semantic roles & 50–950 ramp

primary
#A22742
secondary
#64C1AC
accent
#E4C143
background
#FCF6F7
surface
#F9ECED
border
#D2C7C8
text
#140708
muted
#827A7B

Preview Lab

Preview with #A22742

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

Preview Lab → · Contrast checker → · Palette generator →

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