#A12C8D#A12C8D

#A12C8D is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.8% C 0.185 H 335.8°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#A12C8D
RGBrgb(161, 44, 141)
HSLhsl(310, 57%, 40%)
HSVhsv(310, 73%, 63%)
CMYKcmyk(0%, 72.7%, 12.4%, 36.9%)
CIE-LABlab(40.09, 57.64, -27.86)
CIE-LCHlch(40.09, 64.02, 334.21°)
OKLaboklab(50.79% 0.1687 -0.076)
OKLCHoklch(50.79% 0.185 335.8)
XYZxyz(20.4066, 11.3033, 26.3012)
Luminance0.1130 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12C8D #2CA140
analogous
#7A2CA1 #A12C8D #A12C53
triadic
#A12C8D #8DA12C #2C8DA1
tetradic
#A12C8D #A17A2C #2CA140 #2C53A1
square
#A12C8D #A17A2C #2CA140 #2C53A1
split-complementary
#A12C8D #53A12C #2CA17A
monochromatic
#411239 #711F63 #A12C8D #CB40B3 #D870C6

Accessibility & contrast

On white

6.44
#A12C8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#A12C8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12C8D
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12C8D#FFFFFF#000000##FFFFFF
##A12C8D1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5390
Deuteranopia (green-blind)
#55658A
Tritanopia (blue-blind)
#A93459
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a12c8d;
/* rgb */ color: rgb(161, 44, 141);
/* oklch */ color: oklch(50.8% 0.185 335.8);
Tailwind
colors: {
  custom: {
    50: '#c071ae',
    500: '#a12c8d',
    950: '#000000',
  },
}
SCSS
$custom: #a12c8d;
$custom-light: #c071ae;
$custom-dark: #000000;
JSON
{
  "hex": "#a12c8d",
  "rgb": {
    "r": 161,
    "g": 44,
    "b": 141
  },
  "hsl": {
    "h": 310.256,
    "s": 57.073,
    "l": 40.196
  },
  "oklch": {
    "l": 0.50794,
    "c": 0.18502,
    "h": 335.8
  },
  "luminance": 0.11302
}

Semantic roles & 50–950 ramp

primary
#A12C8D
secondary
#6ABF78
accent
#E06247
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A12C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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