#A12F7E#A12F7E

#A12F7E is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.3% C 0.171 H 342.6°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#A12F7E
RGBrgb(161, 47, 126)
HSLhsl(318, 55%, 41%)
HSVhsv(318, 71%, 63%)
CMYKcmyk(0%, 70.8%, 21.7%, 36.9%)
CIE-LABlab(39.78, 54.37, -19.12)
CIE-LCHlch(39.78, 57.63, 340.63°)
OKLaboklab(50.35% 0.1632 -0.0512)
OKLCHoklch(50.35% 0.171 342.6)
XYZxyz(19.4810, 11.1184, 20.8547)
Luminance0.1112 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12F7E #2FA152
analogous
#8B2FA1 #A12F7E #A12F45
triadic
#A12F7E #7EA12F #2F7EA1
tetradic
#A12F7E #A18B2F #2FA152 #2F45A1
square
#A12F7E #A18B2F #2FA152 #2F45A1
split-complementary
#A12F7E #45A12F #2FA18B
monochromatic
#421334 #722159 #A12F7E #C945A0 #D674B8

Accessibility & contrast

On white

6.52
#A12F7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#A12F7E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12F7E
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12F7E#FFFFFF#000000##FFFFFF
##A12F7E1.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395280
Deuteranopia (green-blind)
#5C657B
Tritanopia (blue-blind)
#AB3052
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a12f7e;
/* rgb */ color: rgb(161, 47, 126);
/* oklch */ color: oklch(50.3% 0.171 342.6);
Tailwind
colors: {
  custom: {
    50: '#c071a3',
    500: '#a12f7e',
    950: '#000000',
  },
}
SCSS
$custom: #a12f7e;
$custom-light: #c071a3;
$custom-dark: #000000;
JSON
{
  "hex": "#a12f7e",
  "rgb": {
    "r": 161,
    "g": 47,
    "b": 126
  },
  "hsl": {
    "h": 318.421,
    "s": 54.808,
    "l": 40.784
  },
  "oklch": {
    "l": 0.50345,
    "c": 0.17107,
    "h": 342.6
  },
  "luminance": 0.11116
}

Semantic roles & 50–950 ramp

primary
#A12F7E
secondary
#6EBE86
accent
#DE774A
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A12F7E

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

Preview Lab → · Contrast checker → · Palette generator →

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