#A12947#A12947

#A12947 is a mid, vivid red. Relative luminance 0.096; OKLCH L 47.8% C 0.156 H 10.9°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#A12947
RGBrgb(161, 41, 71)
HSLhsl(345, 59%, 40%)
HSVhsv(345, 75%, 63%)
CMYKcmyk(0%, 74.5%, 55.9%, 36.9%)
CIE-LABlab(37.15, 50.55, 11.75)
CIE-LCHlch(37.15, 51.90, 13.08°)
OKLaboklab(47.81% 0.1531 0.0296)
OKLCHoklch(47.81% 0.156 10.9)
XYZxyz(16.6298, 9.6202, 6.9412)
Luminance0.0962 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12947 #29A183
analogous
#A12983 #A12947 #A14729
triadic
#A12947 #47A129 #2947A1
tetradic
#A12947 #83A129 #29A183 #4729A1
square
#A12947 #83A129 #29A183 #4729A1
split-complementary
#A12947 #29A147 #2983A1
monochromatic
#3F101C #701D31 #A12947 #CD3A5F #D96B87

Accessibility & contrast

On white

7.18
#A12947 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#A12947 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A12947
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12947#FFFFFF#000000##FFFFFF
##A129471.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484847
Deuteranopia (green-blind)
#676044
Tritanopia (blue-blind)
#B00735
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a12947;
/* rgb */ color: rgb(161, 41, 71);
/* oklch */ color: oklch(47.8% 0.156 10.9);
Tailwind
colors: {
  custom: {
    50: '#c36d79',
    500: '#a12947',
    950: '#000000',
  },
}
SCSS
$custom: #a12947;
$custom-light: #c36d79;
$custom-dark: #000000;
JSON
{
  "hex": "#a12947",
  "rgb": {
    "r": 161,
    "g": 41,
    "b": 71
  },
  "hsl": {
    "h": 345,
    "s": 59.406,
    "l": 39.608
  },
  "oklch": {
    "l": 0.47813,
    "c": 0.15594,
    "h": 10.9
  },
  "luminance": 0.09618
}

Semantic roles & 50–950 ramp

primary
#A12947
secondary
#66C0A9
accent
#E3BB45
background
#FCF6F7
surface
#F9ECED
border
#D2C7C8
text
#140809
muted
#827B7B

Preview Lab

Preview with #A12947

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

Preview Lab → · Contrast checker → · Palette generator →

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