#A1223E#A1223E

#A1223E is a mid, vivid red. Relative luminance 0.091; OKLCH L 47.0% C 0.162 H 14.1°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#A1223E
RGBrgb(161, 34, 62)
HSLhsl(347, 65%, 38%)
HSVhsv(347, 79%, 63%)
CMYKcmyk(0%, 78.9%, 61.5%, 36.9%)
CIE-LABlab(36.12, 52.23, 16.12)
CIE-LCHlch(36.12, 54.66, 17.16°)
OKLaboklab(46.99% 0.157 0.0395)
OKLCHoklch(46.99% 0.162 14.1)
XYZxyz(16.1411, 9.0713, 5.4575)
Luminance0.0907 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1223E #22A185
analogous
#A1227D #A1223E #A14622
triadic
#A1223E #3EA122 #223EA1
tetradic
#A1223E #7DA122 #22A185 #4622A1
square
#A1223E #7DA122 #22A185 #4622A1
split-complementary
#A1223E #22A146 #227DA1
monochromatic
#3C0D17 #6E172B #A1223E #D32D52 #DD607C

Accessibility & contrast

On white

7.46
#A1223E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #A1223E
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1223E#FFFFFF#000000##FFFFFF
##A1223E1.007.462.817.46
#FFFFFF7.461.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46443E
Deuteranopia (green-blind)
#665E3B
Tritanopia (blue-blind)
#B1002E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #a1223e;
/* rgb */ color: rgb(161, 34, 62);
/* oklch */ color: oklch(47.0% 0.162 14.1);
Tailwind
colors: {
  custom: {
    50: '#c46a73',
    500: '#a1223e',
    950: '#000000',
  },
}
SCSS
$custom: #a1223e;
$custom-light: #c46a73;
$custom-dark: #000000;
JSON
{
  "hex": "#a1223e",
  "rgb": {
    "r": 161,
    "g": 34,
    "b": 62
  },
  "hsl": {
    "h": 346.772,
    "s": 65.128,
    "l": 38.235
  },
  "oklch": {
    "l": 0.46985,
    "c": 0.16185,
    "h": 14.1
  },
  "luminance": 0.09069
}

Semantic roles & 50–950 ramp

primary
#A1223E
secondary
#5DC2AC
accent
#E8C340
background
#FCF6F6
surface
#F9ECEC
border
#D2C7C7
text
#140708
muted
#827A7B

Preview Lab

Preview with #A1223E

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

Preview Lab → · Contrast checker → · Palette generator →

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