#A12287#A12287

#A12287 is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.7% C 0.192 H 338.0°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#A12287
RGBrgb(161, 34, 135)
HSLhsl(312, 65%, 38%)
HSVhsv(312, 79%, 63%)
CMYKcmyk(0%, 78.9%, 16.1%, 36.9%)
CIE-LABlab(38.68, 59.94, -26.38)
CIE-LCHlch(38.68, 65.49, 336.25°)
OKLaboklab(49.68% 0.1776 -0.0717)
OKLCHoklch(49.68% 0.192 338)
XYZxyz(19.6436, 10.4723, 23.9038)
Luminance0.1047 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12287 #22A13C
analogous
#7B22A1 #A12287 #A12248
triadic
#A12287 #87A122 #2287A1
tetradic
#A12287 #A17B22 #22A13C #2248A1
square
#A12287 #A17B22 #22A13C #2248A1
split-complementary
#A12287 #48A122 #22A17B
monochromatic
#3C0D32 #6E175D #A12287 #D32DB1 #DD60C4

Accessibility & contrast

On white

6.79
#A12287 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#A12287 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12287
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12287#FFFFFF#000000##FFFFFF
##A122871.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284F8A
Deuteranopia (green-blind)
#546284
Tritanopia (blue-blind)
#AA2A53
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a12287;
/* rgb */ color: rgb(161, 34, 135);
/* oklch */ color: oklch(49.7% 0.192 338.0);
Tailwind
colors: {
  custom: {
    50: '#c16caa',
    500: '#a12287',
    950: '#000000',
  },
}
SCSS
$custom: #a12287;
$custom-light: #c16caa;
$custom-dark: #000000;
JSON
{
  "hex": "#a12287",
  "rgb": {
    "r": 161,
    "g": 34,
    "b": 135
  },
  "hsl": {
    "h": 312.283,
    "s": 65.128,
    "l": 38.235
  },
  "oklch": {
    "l": 0.49682,
    "c": 0.19152,
    "h": 338
  },
  "luminance": 0.1047
}

Semantic roles & 50–950 ramp

primary
#A12287
secondary
#5DC271
accent
#E86240
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130810
muted
#827A7F

Preview Lab

Preview with #A12287

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

Preview Lab → · Contrast checker → · Palette generator →

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