#A5223A#A5223A

#A5223A is a mid, vivid red. Relative luminance 0.094; OKLCH L 47.6% C 0.166 H 16.7°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#A5223A
RGBrgb(165, 34, 58)
HSLhsl(349, 66%, 39%)
HSVhsv(349, 79%, 65%)
CMYKcmyk(0%, 79.4%, 64.8%, 35.3%)
CIE-LABlab(36.84, 53.15, 19.77)
CIE-LCHlch(36.84, 56.71, 20.41°)
OKLaboklab(47.63% 0.1586 0.0475)
OKLCHoklch(47.63% 0.166 16.7)
XYZxyz(16.8546, 9.4514, 4.9390)
Luminance0.0945 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5223A #22A58D
analogous
#A5227C #A5223A #A54C22
triadic
#A5223A #3AA522 #223AA5
tetradic
#A5223A #7CA522 #22A58D #4C22A5
square
#A5223A #7CA522 #22A58D #4C22A5
split-complementary
#A5223A #22A54C #227CA5
monochromatic
#400D16 #721828 #A5223A #D4304E #DF6379

Accessibility & contrast

On white

7.27
#A5223A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#A5223A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A5223A
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5223A#FFFFFF#000000##FFFFFF
##A5223A1.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48453A
Deuteranopia (green-blind)
#696036
Tritanopia (blue-blind)
#B5002C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a5223a;
/* rgb */ color: rgb(165, 34, 58);
/* oklch */ color: oklch(47.6% 0.166 16.7);
Tailwind
colors: {
  custom: {
    50: '#c76a6f',
    500: '#a5223a',
    950: '#000000',
  },
}
SCSS
$custom: #a5223a;
$custom-light: #c76a6f;
$custom-dark: #000000;
JSON
{
  "hex": "#a5223a",
  "rgb": {
    "r": 165,
    "g": 34,
    "b": 58
  },
  "hsl": {
    "h": 349.008,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.47633,
    "c": 0.16555,
    "h": 16.7
  },
  "luminance": 0.09449
}

Semantic roles & 50–950 ramp

primary
#A5223A
secondary
#5FC4B1
accent
#E9CA3F
background
#FDF6F6
surface
#FAECEC
border
#D3C7C7
text
#140707
muted
#837A7A

Preview Lab

Preview with #A5223A

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

Preview Lab → · Contrast checker → · Palette generator →

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