#A12B74#A12B74

#A12B74 is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.5% C 0.170 H 347.1°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#A12B74
RGBrgb(161, 43, 116)
HSLhsl(323, 58%, 40%)
HSVhsv(323, 73%, 63%)
CMYKcmyk(0%, 73.3%, 28%, 36.9%)
CIE-LABlab(38.84, 54.49, -14.34)
CIE-LCHlch(38.84, 56.35, 345.26°)
OKLaboklab(49.53% 0.1656 -0.0378)
OKLCHoklch(49.53% 0.17 347.1)
XYZxyz(18.7151, 10.5678, 17.5738)
Luminance0.1057 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12B74 #2BA158
analogous
#932BA1 #A12B74 #A12B39
triadic
#A12B74 #74A12B #2B74A1
tetradic
#A12B74 #A1932B #2BA158 #2B39A1
square
#A12B74 #A1932B #2BA158 #2B39A1
split-complementary
#A12B74 #39A12B #2BA193
monochromatic
#40112E #711E51 #A12B74 #CB3E95 #D86EB0

Accessibility & contrast

On white

6.75
#A12B74 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#A12B74 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12B74
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12B74#FFFFFF#000000##FFFFFF
##A12B741.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a12b74;
/* rgb */ color: rgb(161, 43, 116);
/* oklch */ color: oklch(49.5% 0.170 347.1);
Tailwind
colors: {
  custom: {
    50: '#c16f9c',
    500: '#a12b74',
    950: '#000000',
  },
}
SCSS
$custom: #a12b74;
$custom-light: #c16f9c;
$custom-dark: #000000;
JSON
{
  "hex": "#a12b74",
  "rgb": {
    "r": 161,
    "g": 43,
    "b": 116
  },
  "hsl": {
    "h": 322.881,
    "s": 57.843,
    "l": 40
  },
  "oklch": {
    "l": 0.49525,
    "c": 0.16987,
    "h": 347.1
  },
  "luminance": 0.10566
}

Semantic roles & 50–950 ramp

primary
#A12B74
secondary
#69BF8A
accent
#E18247
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #A12B74

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

Preview Lab → · Contrast checker → · Palette generator →

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