#A12954#A12954

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

Color values

HEX#A12954
RGBrgb(161, 41, 84)
HSLhsl(339, 59%, 40%)
HSVhsv(339, 75%, 63%)
CMYKcmyk(0%, 74.5%, 47.8%, 36.9%)
CIE-LABlab(37.49, 51.66, 3.90)
CIE-LCHlch(37.49, 51.81, 4.32°)
OKLaboklab(48.17% 0.1581 0.0105)
OKLCHoklch(48.17% 0.158 3.8)
XYZxyz(17.0925, 9.8053, 9.3783)
Luminance0.0980 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12954 #29A176
analogous
#A12990 #A12954 #A13A29
triadic
#A12954 #54A129 #2954A1
tetradic
#A12954 #90A129 #29A176 #3A29A1
square
#A12954 #90A129 #29A176 #3A29A1
split-complementary
#A12954 #29A13A #2990A1
monochromatic
#3F1021 #701D3B #A12954 #CD3A6F #D96B93

Accessibility & contrast

On white

7.09
#A12954 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#A12954 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A12954
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12954#FFFFFF#000000##FFFFFF
##A129541.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454955
Deuteranopia (green-blind)
#656151
Tritanopia (blue-blind)
#AF113B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a12954;
/* rgb */ color: rgb(161, 41, 84);
/* oklch */ color: oklch(48.2% 0.158 3.8);
Tailwind
colors: {
  custom: {
    50: '#c26d83',
    500: '#a12954',
    950: '#000000',
  },
}
SCSS
$custom: #a12954;
$custom-light: #c26d83;
$custom-dark: #000000;
JSON
{
  "hex": "#a12954",
  "rgb": {
    "r": 161,
    "g": 41,
    "b": 84
  },
  "hsl": {
    "h": 338.5,
    "s": 59.406,
    "l": 39.608
  },
  "oklch": {
    "l": 0.48173,
    "c": 0.15845,
    "h": 3.8
  },
  "luminance": 0.09803
}

Semantic roles & 50–950 ramp

primary
#A12954
secondary
#66C0A0
accent
#E3AA45
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13080A
muted
#827B7C

Preview Lab

Preview with #A12954

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

Preview Lab → · Contrast checker → · Palette generator →

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