#A12A74#A12A74

#A12A74 is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.4% C 0.171 H 347.0°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#A12A74
RGBrgb(161, 42, 116)
HSLhsl(323, 59%, 40%)
HSVhsv(323, 74%, 63%)
CMYKcmyk(0%, 73.9%, 28%, 36.9%)
CIE-LABlab(38.72, 54.84, -14.53)
CIE-LCHlch(38.72, 56.74, 345.17°)
OKLaboklab(49.44% 0.1667 -0.0384)
OKLCHoklch(49.44% 0.171 347)
XYZxyz(18.6792, 10.4960, 17.5618)
Luminance0.1049 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12A74 #2AA157
analogous
#932AA1 #A12A74 #A12A39
triadic
#A12A74 #74A12A #2A74A1
tetradic
#A12A74 #A1932A #2AA157 #2A39A1
square
#A12A74 #A1932A #2AA157 #2A39A1
split-complementary
#A12A74 #39A12A #2AA193
monochromatic
#40112E #701D51 #A12A74 #CC3C96 #D96DB0

Accessibility & contrast

On white

6.78
#A12A74 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#A12A74 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12A74
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12A74#FFFFFF#000000##FFFFFF
##A12A741.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4E76
Deuteranopia (green-blind)
#5E6371
Tritanopia (blue-blind)
#AC264B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a12a74;
/* rgb */ color: rgb(161, 42, 116);
/* oklch */ color: oklch(49.4% 0.171 347.0);
Tailwind
colors: {
  custom: {
    50: '#c16f9c',
    500: '#a12a74',
    950: '#000000',
  },
}
SCSS
$custom: #a12a74;
$custom-light: #c16f9c;
$custom-dark: #000000;
JSON
{
  "hex": "#a12a74",
  "rgb": {
    "r": 161,
    "g": 42,
    "b": 116
  },
  "hsl": {
    "h": 322.689,
    "s": 58.621,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49435,
    "c": 0.17105,
    "h": 347
  },
  "luminance": 0.10494
}

Semantic roles & 50–950 ramp

primary
#A12A74
secondary
#67C089
accent
#E28146
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #A12A74

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

Preview Lab → · Contrast checker → · Palette generator →

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