#A12956#A12956

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

Color values

HEX#A12956
RGBrgb(161, 41, 86)
HSLhsl(338, 59%, 40%)
HSVhsv(338, 75%, 63%)
CMYKcmyk(0%, 74.5%, 46.6%, 36.9%)
CIE-LABlab(37.55, 51.85, 2.71)
CIE-LCHlch(37.55, 51.92, 2.99°)
OKLaboklab(48.24% 0.1588 0.0075)
OKLCHoklch(48.24% 0.159 2.7)
XYZxyz(17.1720, 9.8371, 9.7968)
Luminance0.0984 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12956 #29A174
analogous
#A12992 #A12956 #A13829
triadic
#A12956 #56A129 #2956A1
tetradic
#A12956 #92A129 #29A174 #3829A1
square
#A12956 #92A129 #29A174 #3829A1
split-complementary
#A12956 #29A138 #2992A1
monochromatic
#3F1022 #701D3C #A12956 #CD3A71 #D96B94

Accessibility & contrast

On white

7.08
#A12956 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #A12956
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12956#FFFFFF#000000##FFFFFF
##A129561.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444957
Deuteranopia (green-blind)
#656153
Tritanopia (blue-blind)
#AF133C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a12956;
/* rgb */ color: rgb(161, 41, 86);
/* oklch */ color: oklch(48.2% 0.159 2.7);
Tailwind
colors: {
  custom: {
    50: '#c26d85',
    500: '#a12956',
    950: '#000000',
  },
}
SCSS
$custom: #a12956;
$custom-light: #c26d85;
$custom-dark: #000000;
JSON
{
  "hex": "#a12956",
  "rgb": {
    "r": 161,
    "g": 41,
    "b": 86
  },
  "hsl": {
    "h": 337.5,
    "s": 59.406,
    "l": 39.608
  },
  "oklch": {
    "l": 0.48235,
    "c": 0.15901,
    "h": 2.7
  },
  "luminance": 0.09835
}

Semantic roles & 50–950 ramp

primary
#A12956
secondary
#66C09E
accent
#E3A845
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13080B
muted
#827B7C

Preview Lab

Preview with #A12956

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

Preview Lab → · Contrast checker → · Palette generator →

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