#A22838#A22838

#A22838 is a mid, vivid red. Relative luminance 0.095; OKLCH L 47.6% C 0.157 H 18.6°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#A22838
RGBrgb(162, 40, 56)
HSLhsl(352, 60%, 40%)
HSVhsv(352, 75%, 64%)
CMYKcmyk(0%, 75.3%, 65.4%, 36.5%)
CIE-LABlab(36.91, 50.17, 21.01)
CIE-LCHlch(36.91, 54.40, 22.72°)
OKLaboklab(47.56% 0.149 0.0502)
OKLCHoklch(47.56% 0.157 18.6)
XYZxyz(16.3746, 9.4869, 4.7096)
Luminance0.0948 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22838 #28A292
analogous
#A22875 #A22838 #A25528
triadic
#A22838 #38A228 #2838A2
tetradic
#A22838 #75A228 #28A292 #5528A2
square
#A22838 #75A228 #28A292 #5528A2
split-complementary
#A22838 #28A255 #2875A2
monochromatic
#401016 #711C27 #A22838 #CE394D #DA6A79

Accessibility & contrast

On white

7.25
#A22838 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#A22838 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A22838
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22838#FFFFFF#000000##FFFFFF
##A228381.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4638
Deuteranopia (green-blind)
#696034
Tritanopia (blue-blind)
#B2002F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a22838;
/* rgb */ color: rgb(162, 40, 56);
/* oklch */ color: oklch(47.6% 0.157 18.6);
Tailwind
colors: {
  custom: {
    50: '#c56c6e',
    500: '#a22838',
    950: '#000000',
  },
}
SCSS
$custom: #a22838;
$custom-light: #c56c6e;
$custom-dark: #000000;
JSON
{
  "hex": "#a22838",
  "rgb": {
    "r": 162,
    "g": 40,
    "b": 56
  },
  "hsl": {
    "h": 352.131,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.47563,
    "c": 0.15726,
    "h": 18.6
  },
  "luminance": 0.09484
}

Semantic roles & 50–950 ramp

primary
#A22838
secondary
#65C1B5
accent
#E4CF44
background
#FDF6F6
surface
#FAECEB
border
#D3C7C6
text
#140707
muted
#837A7A

Preview Lab

Preview with #A22838

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

Preview Lab → · Contrast checker → · Palette generator →

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