#A12957#A12957

#A12957 is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.3% C 0.159 H 2.2°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#A12957
RGBrgb(161, 41, 87)
HSLhsl(337, 59%, 40%)
HSVhsv(337, 75%, 63%)
CMYKcmyk(0%, 74.5%, 46%, 36.9%)
CIE-LABlab(37.58, 51.94, 2.11)
CIE-LCHlch(37.58, 51.99, 2.32°)
OKLaboklab(48.27% 0.1592 0.006)
OKLCHoklch(48.27% 0.159 2.2)
XYZxyz(17.2125, 9.8533, 10.0105)
Luminance0.0985 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12957 #29A173
analogous
#A12993 #A12957 #A13729
triadic
#A12957 #57A129 #2957A1
tetradic
#A12957 #93A129 #29A173 #3729A1
square
#A12957 #93A129 #29A173 #3729A1
split-complementary
#A12957 #29A137 #2993A1
monochromatic
#3F1022 #701D3D #A12957 #CD3A72 #D96B95

Accessibility & contrast

On white

7.07
#A12957 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#A12957 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A12957
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12957#FFFFFF#000000##FFFFFF
##A129571.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444A58
Deuteranopia (green-blind)
#646154
Tritanopia (blue-blind)
#AF143D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a12957;
/* rgb */ color: rgb(161, 41, 87);
/* oklch */ color: oklch(48.3% 0.159 2.2);
Tailwind
colors: {
  custom: {
    50: '#c26d86',
    500: '#a12957',
    950: '#000000',
  },
}
SCSS
$custom: #a12957;
$custom-light: #c26d86;
$custom-dark: #000000;
JSON
{
  "hex": "#a12957",
  "rgb": {
    "r": 161,
    "g": 41,
    "b": 87
  },
  "hsl": {
    "h": 337,
    "s": 59.406,
    "l": 39.608
  },
  "oklch": {
    "l": 0.48266,
    "c": 0.1593,
    "h": 2.2
  },
  "luminance": 0.09851
}

Semantic roles & 50–950 ramp

primary
#A12957
secondary
#66C09D
accent
#E3A645
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13080B
muted
#827B7C

Preview Lab

Preview with #A12957

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

Preview Lab → · Contrast checker → · Palette generator →

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