#A1223A#A1223A

#A1223A is a mid, vivid red. Relative luminance 0.090; OKLCH L 46.9% C 0.162 H 16.1°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#A1223A
RGBrgb(161, 34, 58)
HSLhsl(349, 65%, 38%)
HSVhsv(349, 79%, 63%)
CMYKcmyk(0%, 78.9%, 64%, 36.9%)
CIE-LABlab(36.04, 51.97, 18.58)
CIE-LCHlch(36.04, 55.19, 19.67°)
OKLaboklab(46.9% 0.1553 0.0449)
OKLCHoklch(46.9% 0.162 16.1)
XYZxyz(16.0354, 9.0290, 4.9006)
Luminance0.0903 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1223A #22A189
analogous
#A12279 #A1223A #A14922
triadic
#A1223A #3AA122 #223AA1
tetradic
#A1223A #79A122 #22A189 #4922A1
square
#A1223A #79A122 #22A189 #4922A1
split-complementary
#A1223A #22A149 #2279A1
monochromatic
#3C0D16 #6E1728 #A1223A #D32D4D #DD6078

Accessibility & contrast

On white

7.49
#A1223A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#A1223A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A1223A
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1223A#FFFFFF#000000##FFFFFF
##A1223A1.007.492.817.49
#FFFFFF7.491.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47443A
Deuteranopia (green-blind)
#675E36
Tritanopia (blue-blind)
#B1002C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #a1223a;
/* rgb */ color: rgb(161, 34, 58);
/* oklch */ color: oklch(46.9% 0.162 16.1);
Tailwind
colors: {
  custom: {
    50: '#c46a6f',
    500: '#a1223a',
    950: '#000000',
  },
}
SCSS
$custom: #a1223a;
$custom-light: #c46a6f;
$custom-dark: #000000;
JSON
{
  "hex": "#a1223a",
  "rgb": {
    "r": 161,
    "g": 34,
    "b": 58
  },
  "hsl": {
    "h": 348.661,
    "s": 65.128,
    "l": 38.235
  },
  "oklch": {
    "l": 0.46898,
    "c": 0.1617,
    "h": 16.1
  },
  "luminance": 0.09027
}

Semantic roles & 50–950 ramp

primary
#A1223A
secondary
#5DC2AF
accent
#E8C840
background
#FDF6F6
surface
#FAECEC
border
#D3C7C7
text
#140707
muted
#837A7A

Preview Lab

Preview with #A1223A

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

Preview Lab → · Contrast checker → · Palette generator →

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