#A12940#A12940

#A12940 is a mid, vivid red. Relative luminance 0.095; OKLCH L 47.6% C 0.155 H 14.7°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#A12940
RGBrgb(161, 41, 64)
HSLhsl(349, 59%, 40%)
HSVhsv(349, 75%, 63%)
CMYKcmyk(0%, 74.5%, 60.2%, 36.9%)
CIE-LABlab(37.00, 50.03, 16.01)
CIE-LCHlch(37.00, 52.53, 17.74°)
OKLaboklab(47.65% 0.1503 0.0394)
OKLCHoklch(47.65% 0.155 14.7)
XYZxyz(16.4179, 9.5355, 5.8255)
Luminance0.0953 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12940 #29A18A
analogous
#A1297C #A12940 #A14E29
triadic
#A12940 #40A129 #2940A1
tetradic
#A12940 #7CA129 #29A18A #4E29A1
square
#A12940 #7CA129 #29A18A #4E29A1
split-complementary
#A12940 #29A14E #297CA1
monochromatic
#3F1019 #701D2D #A12940 #CD3A56 #D96B80

Accessibility & contrast

On white

7.22
#A12940 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#A12940 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A12940
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12940#FFFFFF#000000##FFFFFF
##A129401.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494740
Deuteranopia (green-blind)
#68603D
Tritanopia (blue-blind)
#B00133
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a12940;
/* rgb */ color: rgb(161, 41, 64);
/* oklch */ color: oklch(47.6% 0.155 14.7);
Tailwind
colors: {
  custom: {
    50: '#c36d74',
    500: '#a12940',
    950: '#000000',
  },
}
SCSS
$custom: #a12940;
$custom-light: #c36d74;
$custom-dark: #000000;
JSON
{
  "hex": "#a12940",
  "rgb": {
    "r": 161,
    "g": 41,
    "b": 64
  },
  "hsl": {
    "h": 348.5,
    "s": 59.406,
    "l": 39.608
  },
  "oklch": {
    "l": 0.47646,
    "c": 0.15535,
    "h": 14.7
  },
  "luminance": 0.09533
}

Semantic roles & 50–950 ramp

primary
#A12940
secondary
#66C0AF
accent
#E3C445
background
#FCF6F7
surface
#F9ECED
border
#D2C7C8
text
#140808
muted
#827B7B

Preview Lab

Preview with #A12940

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

Preview Lab → · Contrast checker → · Palette generator →

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