#A5223B#A5223B

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

Color values

HEX#A5223B
RGBrgb(165, 34, 59)
HSLhsl(349, 66%, 39%)
HSVhsv(349, 79%, 65%)
CMYKcmyk(0%, 79.4%, 64.2%, 35.3%)
CIE-LABlab(36.86, 53.21, 19.16)
CIE-LCHlch(36.86, 56.56, 19.80°)
OKLaboklab(47.65% 0.159 0.0462)
OKLCHoklch(47.65% 0.166 16.2)
XYZxyz(16.8803, 9.4617, 5.0743)
Luminance0.0946 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5223B #22A58C
analogous
#A5227D #A5223B #A54B22
triadic
#A5223B #3BA522 #223BA5
tetradic
#A5223B #7DA522 #22A58C #4B22A5
square
#A5223B #7DA522 #22A58C #4B22A5
split-complementary
#A5223B #22A54B #227DA5
monochromatic
#400D17 #721829 #A5223B #D4304F #DF637A

Accessibility & contrast

On white

7.26
#A5223B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #A5223B
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5223B#FFFFFF#000000##FFFFFF
##A5223B1.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48453B
Deuteranopia (green-blind)
#696037
Tritanopia (blue-blind)
#B5002D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a5223b;
/* rgb */ color: rgb(165, 34, 59);
/* oklch */ color: oklch(47.7% 0.166 16.2);
Tailwind
colors: {
  custom: {
    50: '#c76a70',
    500: '#a5223b',
    950: '#000000',
  },
}
SCSS
$custom: #a5223b;
$custom-light: #c76a70;
$custom-dark: #000000;
JSON
{
  "hex": "#a5223b",
  "rgb": {
    "r": 165,
    "g": 34,
    "b": 59
  },
  "hsl": {
    "h": 348.55,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.47653,
    "c": 0.16556,
    "h": 16.2
  },
  "luminance": 0.09459
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A5223B

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

Preview Lab → · Contrast checker → · Palette generator →

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