#A1223B#A1223B

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

Color values

HEX#A1223B
RGBrgb(161, 34, 59)
HSLhsl(348, 65%, 38%)
HSVhsv(348, 79%, 63%)
CMYKcmyk(0%, 78.9%, 63.4%, 36.9%)
CIE-LABlab(36.06, 52.03, 17.97)
CIE-LCHlch(36.06, 55.05, 19.05°)
OKLaboklab(46.92% 0.1558 0.0436)
OKLCHoklch(46.92% 0.162 15.6)
XYZxyz(16.0611, 9.0393, 5.0359)
Luminance0.0904 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1223B #22A188
analogous
#A1227A #A1223B #A14822
triadic
#A1223B #3BA122 #223BA1
tetradic
#A1223B #7AA122 #22A188 #4822A1
square
#A1223B #7AA122 #22A188 #4822A1
split-complementary
#A1223B #22A148 #227AA1
monochromatic
#3C0D16 #6E1728 #A1223B #D32D4E #DD6079

Accessibility & contrast

On white

7.48
#A1223B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #A1223B
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1223B#FFFFFF#000000##FFFFFF
##A1223B1.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47443B
Deuteranopia (green-blind)
#675E37
Tritanopia (blue-blind)
#B1002D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #a1223b;
/* rgb */ color: rgb(161, 34, 59);
/* oklch */ color: oklch(46.9% 0.162 15.6);
Tailwind
colors: {
  custom: {
    50: '#c46a70',
    500: '#a1223b',
    950: '#000000',
  },
}
SCSS
$custom: #a1223b;
$custom-light: #c46a70;
$custom-dark: #000000;
JSON
{
  "hex": "#a1223b",
  "rgb": {
    "r": 161,
    "g": 34,
    "b": 59
  },
  "hsl": {
    "h": 348.189,
    "s": 65.128,
    "l": 38.235
  },
  "oklch": {
    "l": 0.46919,
    "c": 0.16172,
    "h": 15.6
  },
  "luminance": 0.09037
}

Semantic roles & 50–950 ramp

primary
#A1223B
secondary
#5DC2AE
accent
#E8C740
background
#FCF6F6
surface
#F9ECEC
border
#D2C7C7
text
#140707
muted
#827A7A

Preview Lab

Preview with #A1223B

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

Preview Lab → · Contrast checker → · Palette generator →

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