#A12E42#A12E42

#A12E42 is a mid, vivid red. Relative luminance 0.099; OKLCH L 48.2% C 0.150 H 15.0°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#A12E42
RGBrgb(161, 46, 66)
HSLhsl(350, 56%, 41%)
HSVhsv(350, 71%, 63%)
CMYKcmyk(0%, 71.4%, 59%, 36.9%)
CIE-LABlab(37.71, 48.31, 15.69)
CIE-LCHlch(37.71, 50.80, 18.00°)
OKLaboklab(48.19% 0.1451 0.0388)
OKLCHoklch(48.19% 0.15 15)
XYZxyz(16.6599, 9.9267, 6.1920)
Luminance0.0992 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12E42 #2EA18D
analogous
#A12E7B #A12E42 #A1532E
triadic
#A12E42 #42A12E #2E42A1
tetradic
#A12E42 #7BA12E #2EA18D #532EA1
square
#A12E42 #7BA12E #2EA18D #532EA1
split-complementary
#A12E42 #2EA153 #2E7BA1
monochromatic
#42131B #71202E #A12E42 #C9435A #D77384

Accessibility & contrast

On white

7.04
#A12E42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#A12E42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A12E42
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12E42#FFFFFF#000000##FFFFFF
##A12E421.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4A42
Deuteranopia (green-blind)
#69613F
Tritanopia (blue-blind)
#B01136
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a12e42;
/* rgb */ color: rgb(161, 46, 66);
/* oklch */ color: oklch(48.2% 0.150 15.0);
Tailwind
colors: {
  custom: {
    50: '#c36f76',
    500: '#a12e42',
    950: '#000000',
  },
}
SCSS
$custom: #a12e42;
$custom-light: #c36f76;
$custom-dark: #000000;
JSON
{
  "hex": "#a12e42",
  "rgb": {
    "r": 161,
    "g": 46,
    "b": 66
  },
  "hsl": {
    "h": 349.565,
    "s": 55.556,
    "l": 40.588
  },
  "oklch": {
    "l": 0.48191,
    "c": 0.1502,
    "h": 15
  },
  "luminance": 0.09924
}

Semantic roles & 50–950 ramp

primary
#A12E42
secondary
#6CBEB0
accent
#DFC549
background
#FCF7F7
surface
#F9EDED
border
#D2C8C8
text
#140808
muted
#827B7B

Preview Lab

Preview with #A12E42

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

Preview Lab → · Contrast checker → · Palette generator →

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