#A12955#A12955

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

Color values

HEX#A12955
RGBrgb(161, 41, 85)
HSLhsl(338, 59%, 40%)
HSVhsv(338, 75%, 63%)
CMYKcmyk(0%, 74.5%, 47.2%, 36.9%)
CIE-LABlab(37.52, 51.75, 3.30)
CIE-LCHlch(37.52, 51.86, 3.65°)
OKLaboklab(48.2% 0.1585 0.009)
OKLCHoklch(48.2% 0.159 3.3)
XYZxyz(17.1320, 9.8211, 9.5861)
Luminance0.0982 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12955 #29A175
analogous
#A12991 #A12955 #A13929
triadic
#A12955 #55A129 #2955A1
tetradic
#A12955 #91A129 #29A175 #3929A1
square
#A12955 #91A129 #29A175 #3929A1
split-complementary
#A12955 #29A139 #2991A1
monochromatic
#3F1021 #701D3B #A12955 #CD3A70 #D96B93

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A12955#FFFFFF#000000##FFFFFF
##A129551.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)
#454956
Deuteranopia (green-blind)
#656152
Tritanopia (blue-blind)
#AF123C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a12955;
/* rgb */ color: rgb(161, 41, 85);
/* oklch */ color: oklch(48.2% 0.159 3.3);
Tailwind
colors: {
  custom: {
    50: '#c26d84',
    500: '#a12955',
    950: '#000000',
  },
}
SCSS
$custom: #a12955;
$custom-light: #c26d84;
$custom-dark: #000000;
JSON
{
  "hex": "#a12955",
  "rgb": {
    "r": 161,
    "g": 41,
    "b": 85
  },
  "hsl": {
    "h": 338,
    "s": 59.406,
    "l": 39.608
  },
  "oklch": {
    "l": 0.48204,
    "c": 0.15873,
    "h": 3.3
  },
  "luminance": 0.09819
}

Semantic roles & 50–950 ramp

primary
#A12955
secondary
#66C09F
accent
#E3A945
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13080A
muted
#827B7C

Preview Lab

Preview with #A12955

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

Preview Lab → · Contrast checker → · Palette generator →

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