#A12A55#A12A55

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

Color values

HEX#A12A55
RGBrgb(161, 42, 85)
HSLhsl(338, 59%, 40%)
HSVhsv(338, 74%, 63%)
CMYKcmyk(0%, 73.9%, 47.2%, 36.9%)
CIE-LABlab(37.65, 51.40, 3.48)
CIE-LCHlch(37.65, 51.52, 3.88°)
OKLaboklab(48.3% 0.1573 0.0095)
OKLCHoklch(48.3% 0.158 3.5)
XYZxyz(17.1670, 9.8911, 9.5978)
Luminance0.0989 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12A55 #2AA176
analogous
#A12A91 #A12A55 #A13A2A
triadic
#A12A55 #55A12A #2A55A1
tetradic
#A12A55 #91A12A #2AA176 #3A2AA1
square
#A12A55 #91A12A #2AA176 #3A2AA1
split-complementary
#A12A55 #2AA13A #2A91A1
monochromatic
#401122 #701D3B #A12A55 #CC3C70 #D96D94

Accessibility & contrast

On white

7.05
#A12A55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#A12A55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A12A55
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12A55#FFFFFF#000000##FFFFFF
##A12A551.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454A56
Deuteranopia (green-blind)
#656152
Tritanopia (blue-blind)
#AF143C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a12a55;
/* rgb */ color: rgb(161, 42, 85);
/* oklch */ color: oklch(48.3% 0.158 3.5);
Tailwind
colors: {
  custom: {
    50: '#c26e84',
    500: '#a12a55',
    950: '#000000',
  },
}
SCSS
$custom: #a12a55;
$custom-light: #c26e84;
$custom-dark: #000000;
JSON
{
  "hex": "#a12a55",
  "rgb": {
    "r": 161,
    "g": 42,
    "b": 85
  },
  "hsl": {
    "h": 338.319,
    "s": 58.621,
    "l": 39.804
  },
  "oklch": {
    "l": 0.48297,
    "c": 0.15762,
    "h": 3.5
  },
  "luminance": 0.09889
}

Semantic roles & 50–950 ramp

primary
#A12A55
secondary
#67C0A0
accent
#E2AA46
background
#FCF7F8
surface
#F8EDEF
border
#D1C8CA
text
#13080A
muted
#827B7C

Preview Lab

Preview with #A12A55

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

Preview Lab → · Contrast checker → · Palette generator →

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