#A22538#A22538

#A22538 is a mid, vivid red. Relative luminance 0.093; OKLCH L 47.3% C 0.160 H 17.9°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#A22538
RGBrgb(162, 37, 56)
HSLhsl(351, 63%, 39%)
HSVhsv(351, 77%, 64%)
CMYKcmyk(0%, 77.2%, 65.4%, 36.5%)
CIE-LABlab(36.54, 51.19, 20.55)
CIE-LCHlch(36.54, 55.16, 21.87°)
OKLaboklab(47.29% 0.1523 0.0491)
OKLCHoklch(47.29% 0.16 17.9)
XYZxyz(16.2774, 9.2925, 4.6771)
Luminance0.0929 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22538 #25A28F
analogous
#A22577 #A22538 #A25125
triadic
#A22538 #38A225 #2538A2
tetradic
#A22538 #77A225 #25A28F #5125A2
square
#A22538 #77A225 #25A28F #5125A2
split-complementary
#A22538 #25A251 #2577A2
monochromatic
#3E0E16 #701A27 #A22538 #D1344B #DC6577

Accessibility & contrast

On white

7.35
#A22538 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#A22538 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A22538
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22538#FFFFFF#000000##FFFFFF
##A225381.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494538
Deuteranopia (green-blind)
#685F34
Tritanopia (blue-blind)
#B2002D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #a22538;
/* rgb */ color: rgb(162, 37, 56);
/* oklch */ color: oklch(47.3% 0.160 17.9);
Tailwind
colors: {
  custom: {
    50: '#c56b6e',
    500: '#a22538',
    950: '#000000',
  },
}
SCSS
$custom: #a22538;
$custom-light: #c56b6e;
$custom-dark: #000000;
JSON
{
  "hex": "#a22538",
  "rgb": {
    "r": 162,
    "g": 37,
    "b": 56
  },
  "hsl": {
    "h": 350.88,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.47293,
    "c": 0.16002,
    "h": 17.9
  },
  "luminance": 0.0929
}

Semantic roles & 50–950 ramp

primary
#A22538
secondary
#61C2B3
accent
#E6CD42
background
#FDF6F6
surface
#FAECEB
border
#D3C7C6
text
#140707
muted
#837A7A

Preview Lab

Preview with #A22538

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

Preview Lab → · Contrast checker → · Palette generator →

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