#A12F6A#A12F6A

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

Color values

HEX#A12F6A
RGBrgb(161, 47, 106)
HSLhsl(329, 55%, 41%)
HSVhsv(329, 71%, 63%)
CMYKcmyk(0%, 70.8%, 34.2%, 36.9%)
CIE-LABlab(38.99, 51.78, -7.85)
CIE-LCHlch(38.99, 52.38, 351.38°)
OKLaboklab(49.51% 0.1584 -0.0201)
OKLCHoklch(49.51% 0.16 352.7)
XYZxyz(18.3170, 10.6528, 14.7245)
Luminance0.1065 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12F6A #2FA166
analogous
#9F2FA1 #A12F6A #A12F31
triadic
#A12F6A #6AA12F #2F6AA1
tetradic
#A12F6A #A19F2F #2FA166 #2F31A1
square
#A12F6A #A19F2F #2FA166 #2F31A1
split-complementary
#A12F6A #31A12F #2FA19F
monochromatic
#42132C #72214B #A12F6A #C94589 #D674A7

Accessibility & contrast

On white

6.71
#A12F6A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A12F6A
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12F6A#FFFFFF#000000##FFFFFF
##A12F6A1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424F6C
Deuteranopia (green-blind)
#626367
Tritanopia (blue-blind)
#AD2648
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a12f6a;
/* rgb */ color: rgb(161, 47, 106);
/* oklch */ color: oklch(49.5% 0.160 352.7);
Tailwind
colors: {
  custom: {
    50: '#c17194',
    500: '#a12f6a',
    950: '#000000',
  },
}
SCSS
$custom: #a12f6a;
$custom-light: #c17194;
$custom-dark: #000000;
JSON
{
  "hex": "#a12f6a",
  "rgb": {
    "r": 161,
    "g": 47,
    "b": 106
  },
  "hsl": {
    "h": 328.947,
    "s": 54.808,
    "l": 40.784
  },
  "oklch": {
    "l": 0.49508,
    "c": 0.15966,
    "h": 352.7
  },
  "luminance": 0.10651
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A12F6A

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

Preview Lab → · Contrast checker → · Palette generator →

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