#A12F6B#A12F6B

#A12F6B is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.5% C 0.160 H 352.2°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#A12F6B
RGBrgb(161, 47, 107)
HSLhsl(328, 55%, 41%)
HSVhsv(328, 71%, 63%)
CMYKcmyk(0%, 70.8%, 33.5%, 36.9%)
CIE-LABlab(39.03, 51.90, -8.42)
CIE-LCHlch(39.03, 52.58, 350.78°)
OKLaboklab(49.55% 0.1587 -0.0217)
OKLCHoklch(49.55% 0.16 352.2)
XYZxyz(18.3693, 10.6737, 14.9999)
Luminance0.1067 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12F6B #2FA165
analogous
#9E2FA1 #A12F6B #A12F32
triadic
#A12F6B #6BA12F #2F6BA1
tetradic
#A12F6B #A19E2F #2FA165 #2F32A1
square
#A12F6B #A19E2F #2FA165 #2F32A1
split-complementary
#A12F6B #32A12F #2FA19E
monochromatic
#42132C #72214C #A12F6B #C9458A #D674A8

Accessibility & contrast

On white

6.70
#A12F6B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#A12F6B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12F6B
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12F6B#FFFFFF#000000##FFFFFF
##A12F6B1.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424F6D
Deuteranopia (green-blind)
#626368
Tritanopia (blue-blind)
#AD2749
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a12f6b;
/* rgb */ color: rgb(161, 47, 107);
/* oklch */ color: oklch(49.5% 0.160 352.2);
Tailwind
colors: {
  custom: {
    50: '#c17195',
    500: '#a12f6b',
    950: '#000000',
  },
}
SCSS
$custom: #a12f6b;
$custom-light: #c17195;
$custom-dark: #000000;
JSON
{
  "hex": "#a12f6b",
  "rgb": {
    "r": 161,
    "g": 47,
    "b": 107
  },
  "hsl": {
    "h": 328.421,
    "s": 54.808,
    "l": 40.784
  },
  "oklch": {
    "l": 0.49547,
    "c": 0.16015,
    "h": 352.2
  },
  "luminance": 0.10672
}

Semantic roles & 50–950 ramp

primary
#A12F6B
secondary
#6EBE94
accent
#DE904A
background
#FCF7F9
surface
#F8EDF1
border
#D1C8CB
text
#13080D
muted
#827B7E

Preview Lab

Preview with #A12F6B

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

Preview Lab → · Contrast checker → · Palette generator →

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