#A12945#A12945

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

Color values

HEX#A12945
RGBrgb(161, 41, 69)
HSLhsl(346, 59%, 40%)
HSVhsv(346, 75%, 63%)
CMYKcmyk(0%, 74.5%, 57.1%, 36.9%)
CIE-LABlab(37.11, 50.40, 12.96)
CIE-LCHlch(37.11, 52.04, 14.42°)
OKLaboklab(47.76% 0.1523 0.0324)
OKLCHoklch(47.76% 0.156 12)
XYZxyz(16.5666, 9.5950, 6.6087)
Luminance0.0959 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12945 #29A185
analogous
#A12981 #A12945 #A14929
triadic
#A12945 #45A129 #2945A1
tetradic
#A12945 #81A129 #29A185 #4929A1
square
#A12945 #81A129 #29A185 #4929A1
split-complementary
#A12945 #29A149 #2981A1
monochromatic
#3F101B #701D30 #A12945 #CD3A5D #D96B85

Accessibility & contrast

On white

7.20
#A12945 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #A12945
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12945#FFFFFF#000000##FFFFFF
##A129451.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484845
Deuteranopia (green-blind)
#676042
Tritanopia (blue-blind)
#B00535
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a12945;
/* rgb */ color: rgb(161, 41, 69);
/* oklch */ color: oklch(47.8% 0.156 12.0);
Tailwind
colors: {
  custom: {
    50: '#c36d78',
    500: '#a12945',
    950: '#000000',
  },
}
SCSS
$custom: #a12945;
$custom-light: #c36d78;
$custom-dark: #000000;
JSON
{
  "hex": "#a12945",
  "rgb": {
    "r": 161,
    "g": 41,
    "b": 69
  },
  "hsl": {
    "h": 346,
    "s": 59.406,
    "l": 39.608
  },
  "oklch": {
    "l": 0.47763,
    "c": 0.15571,
    "h": 12
  },
  "luminance": 0.09593
}

Semantic roles & 50–950 ramp

primary
#A12945
secondary
#66C0AB
accent
#E3BE45
background
#FCF6F7
surface
#F9ECED
border
#D2C7C8
text
#140808
muted
#827B7B

Preview Lab

Preview with #A12945

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

Preview Lab → · Contrast checker → · Palette generator →

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