#A12A5A#A12A5A

#A12A5A is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.5% C 0.159 H 0.7°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#A12A5A
RGBrgb(161, 42, 90)
HSLhsl(336, 59%, 40%)
HSVhsv(336, 74%, 63%)
CMYKcmyk(0%, 73.9%, 44.1%, 36.9%)
CIE-LABlab(37.79, 51.88, 0.51)
CIE-LCHlch(37.79, 51.89, 0.56°)
OKLaboklab(48.46% 0.1591 0.0019)
OKLCHoklch(48.46% 0.159 0.7)
XYZxyz(17.3727, 9.9734, 10.6811)
Luminance0.0997 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12A5A #2AA171
analogous
#A12A96 #A12A5A #A1352A
triadic
#A12A5A #5AA12A #2A5AA1
tetradic
#A12A5A #96A12A #2AA171 #352AA1
square
#A12A5A #96A12A #2AA171 #352AA1
split-complementary
#A12A5A #2AA135 #2A96A1
monochromatic
#401124 #701D3F #A12A5A #CC3C76 #D96D98

Accessibility & contrast

On white

7.01
#A12A5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#A12A5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A12A5A
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12A5A#FFFFFF#000000##FFFFFF
##A12A5A1.007.012.997.01
#FFFFFF7.011.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444A5B
Deuteranopia (green-blind)
#646157
Tritanopia (blue-blind)
#AF173E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a12a5a;
/* rgb */ color: rgb(161, 42, 90);
/* oklch */ color: oklch(48.5% 0.159 0.7);
Tailwind
colors: {
  custom: {
    50: '#c26e88',
    500: '#a12a5a',
    950: '#000000',
  },
}
SCSS
$custom: #a12a5a;
$custom-light: #c26e88;
$custom-dark: #000000;
JSON
{
  "hex": "#a12a5a",
  "rgb": {
    "r": 161,
    "g": 42,
    "b": 90
  },
  "hsl": {
    "h": 335.798,
    "s": 58.621,
    "l": 39.804
  },
  "oklch": {
    "l": 0.48455,
    "c": 0.15913,
    "h": 0.7
  },
  "luminance": 0.09971
}

Semantic roles & 50–950 ramp

primary
#A12A5A
secondary
#67C09C
accent
#E2A346
background
#FCF7F8
surface
#F8EDEF
border
#D1C8CA
text
#13080B
muted
#827B7C

Preview Lab

Preview with #A12A5A

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

Preview Lab → · Contrast checker → · Palette generator →

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