#A12951#A12951

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

Color values

HEX#A12951
RGBrgb(161, 41, 81)
HSLhsl(340, 59%, 40%)
HSVhsv(340, 75%, 63%)
CMYKcmyk(0%, 74.5%, 49.7%, 36.9%)
CIE-LABlab(37.41, 51.39, 5.70)
CIE-LCHlch(37.41, 51.70, 6.33°)
OKLaboklab(48.08% 0.157 0.015)
OKLCHoklch(48.08% 0.158 5.5)
XYZxyz(16.9775, 9.7593, 8.7727)
Luminance0.0976 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12951 #29A179
analogous
#A1298D #A12951 #A13D29
triadic
#A12951 #51A129 #2951A1
tetradic
#A12951 #8DA129 #29A179 #3D29A1
square
#A12951 #8DA129 #29A179 #3D29A1
split-complementary
#A12951 #29A13D #298DA1
monochromatic
#3F1020 #701D38 #A12951 #CD3A6B #D96B90

Accessibility & contrast

On white

7.12
#A12951 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #A12951
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12951#FFFFFF#000000##FFFFFF
##A129511.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464952
Deuteranopia (green-blind)
#65614E
Tritanopia (blue-blind)
#AF0F3A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a12951;
/* rgb */ color: rgb(161, 41, 81);
/* oklch */ color: oklch(48.1% 0.158 5.5);
Tailwind
colors: {
  custom: {
    50: '#c26d81',
    500: '#a12951',
    950: '#000000',
  },
}
SCSS
$custom: #a12951;
$custom-light: #c26d81;
$custom-dark: #000000;
JSON
{
  "hex": "#a12951",
  "rgb": {
    "r": 161,
    "g": 41,
    "b": 81
  },
  "hsl": {
    "h": 340,
    "s": 59.406,
    "l": 39.608
  },
  "oklch": {
    "l": 0.48084,
    "c": 0.15771,
    "h": 5.5
  },
  "luminance": 0.09757
}

Semantic roles & 50–950 ramp

primary
#A12951
secondary
#66C0A2
accent
#E3AE45
background
#FCF6F7
surface
#F9ECEE
border
#D2C7C9
text
#13080A
muted
#827B7C

Preview Lab

Preview with #A12951

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

Preview Lab → · Contrast checker → · Palette generator →

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