#A12985#A12985

#A12985 is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.1% C 0.183 H 339.1°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#A12985
RGBrgb(161, 41, 133)
HSLhsl(314, 59%, 40%)
HSVhsv(314, 75%, 63%)
CMYKcmyk(0%, 74.5%, 17.4%, 36.9%)
CIE-LABlab(39.34, 57.49, -24.11)
CIE-LCHlch(39.34, 62.34, 337.24°)
OKLaboklab(50.13% 0.1708 -0.0653)
OKLCHoklch(50.13% 0.183 339.1)
XYZxyz(19.7250, 10.8583, 23.2428)
Luminance0.1086 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12985 #29A145
analogous
#8129A1 #A12985 #A12949
triadic
#A12985 #85A129 #2985A1
tetradic
#A12985 #A18129 #29A145 #2949A1
square
#A12985 #A18129 #29A145 #2949A1
split-complementary
#A12985 #49A129 #29A181
monochromatic
#3F1034 #701D5D #A12985 #CD3AAB #D96BC0

Accessibility & contrast

On white

6.62
#A12985 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#A12985 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12985
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12985#FFFFFF#000000##FFFFFF
##A129851.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305188
Deuteranopia (green-blind)
#586382
Tritanopia (blue-blind)
#AA2E54
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a12985;
/* rgb */ color: rgb(161, 41, 133);
/* oklch */ color: oklch(50.1% 0.183 339.1);
Tailwind
colors: {
  custom: {
    50: '#c16fa8',
    500: '#a12985',
    950: '#000000',
  },
}
SCSS
$custom: #a12985;
$custom-light: #c16fa8;
$custom-dark: #000000;
JSON
{
  "hex": "#a12985",
  "rgb": {
    "r": 161,
    "g": 41,
    "b": 133
  },
  "hsl": {
    "h": 314,
    "s": 59.406,
    "l": 39.608
  },
  "oklch": {
    "l": 0.50129,
    "c": 0.18287,
    "h": 339.1
  },
  "luminance": 0.10856
}

Semantic roles & 50–950 ramp

primary
#A12985
secondary
#66C07B
accent
#E36A45
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A12985

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

Preview Lab → · Contrast checker → · Palette generator →

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