#A1223C#A1223C

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

Color values

HEX#A1223C
RGBrgb(161, 34, 60)
HSLhsl(348, 65%, 38%)
HSVhsv(348, 79%, 63%)
CMYKcmyk(0%, 78.9%, 62.7%, 36.9%)
CIE-LABlab(36.08, 52.10, 17.35)
CIE-LCHlch(36.08, 54.91, 18.42°)
OKLaboklab(46.94% 0.1562 0.0422)
OKLCHoklch(46.94% 0.162 15.1)
XYZxyz(16.0873, 9.0498, 5.1738)
Luminance0.0905 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1223C #22A187
analogous
#A1227B #A1223C #A14822
triadic
#A1223C #3CA122 #223CA1
tetradic
#A1223C #7BA122 #22A187 #4822A1
square
#A1223C #7BA122 #22A187 #4822A1
split-complementary
#A1223C #22A148 #227BA1
monochromatic
#3C0D16 #6E1729 #A1223C #D32D4F #DD607A

Accessibility & contrast

On white

7.47
#A1223C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #A1223C
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1223C#FFFFFF#000000##FFFFFF
##A1223C1.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46443C
Deuteranopia (green-blind)
#675E39
Tritanopia (blue-blind)
#B1002D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #a1223c;
/* rgb */ color: rgb(161, 34, 60);
/* oklch */ color: oklch(46.9% 0.162 15.1);
Tailwind
colors: {
  custom: {
    50: '#c46a71',
    500: '#a1223c',
    950: '#000000',
  },
}
SCSS
$custom: #a1223c;
$custom-light: #c46a71;
$custom-dark: #000000;
JSON
{
  "hex": "#a1223c",
  "rgb": {
    "r": 161,
    "g": 34,
    "b": 60
  },
  "hsl": {
    "h": 347.717,
    "s": 65.128,
    "l": 38.235
  },
  "oklch": {
    "l": 0.46941,
    "c": 0.16175,
    "h": 15.1
  },
  "luminance": 0.09047
}

Semantic roles & 50–950 ramp

primary
#A1223C
secondary
#5DC2AD
accent
#E8C640
background
#FCF6F6
surface
#F9ECEC
border
#D2C7C7
text
#140707
muted
#827A7A

Preview Lab

Preview with #A1223C

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

Preview Lab → · Contrast checker → · Palette generator →

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