#A12952#A12952

#A12952 is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.1% C 0.158 H 4.9°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#A12952
RGBrgb(161, 41, 82)
HSLhsl(340, 59%, 40%)
HSVhsv(340, 75%, 63%)
CMYKcmyk(0%, 74.5%, 49.1%, 36.9%)
CIE-LABlab(37.43, 51.48, 5.10)
CIE-LCHlch(37.43, 51.73, 5.66°)
OKLaboklab(48.11% 0.1574 0.0135)
OKLCHoklch(48.11% 0.158 4.9)
XYZxyz(17.0153, 9.7744, 8.9717)
Luminance0.0977 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12952 #29A178
analogous
#A1298E #A12952 #A13C29
triadic
#A12952 #52A129 #2952A1
tetradic
#A12952 #8EA129 #29A178 #3C29A1
square
#A12952 #8EA129 #29A178 #3C29A1
split-complementary
#A12952 #29A13C #298EA1
monochromatic
#3F1020 #701D39 #A12952 #CD3A6C #D96B91

Accessibility & contrast

On white

7.11
#A12952 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#A12952 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A12952
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12952#FFFFFF#000000##FFFFFF
##A129521.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454953
Deuteranopia (green-blind)
#65614F
Tritanopia (blue-blind)
#AF103A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a12952;
/* rgb */ color: rgb(161, 41, 82);
/* oklch */ color: oklch(48.1% 0.158 4.9);
Tailwind
colors: {
  custom: {
    50: '#c26d82',
    500: '#a12952',
    950: '#000000',
  },
}
SCSS
$custom: #a12952;
$custom-light: #c26d82;
$custom-dark: #000000;
JSON
{
  "hex": "#a12952",
  "rgb": {
    "r": 161,
    "g": 41,
    "b": 82
  },
  "hsl": {
    "h": 339.5,
    "s": 59.406,
    "l": 39.608
  },
  "oklch": {
    "l": 0.48114,
    "c": 0.15794,
    "h": 4.9
  },
  "luminance": 0.09772
}

Semantic roles & 50–950 ramp

primary
#A12952
secondary
#66C0A1
accent
#E3AD45
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13080A
muted
#827B7C

Preview Lab

Preview with #A12952

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

Preview Lab → · Contrast checker → · Palette generator →

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