#A12F6C#A12F6C

#A12F6C is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.6% C 0.161 H 351.7°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#A12F6C
RGBrgb(161, 47, 108)
HSLhsl(328, 55%, 41%)
HSVhsv(328, 71%, 63%)
CMYKcmyk(0%, 70.8%, 32.9%, 36.9%)
CIE-LABlab(39.06, 52.02, -9.00)
CIE-LCHlch(39.06, 52.80, 350.19°)
OKLaboklab(49.59% 0.159 -0.0232)
OKLCHoklch(49.59% 0.161 351.7)
XYZxyz(18.4222, 10.6949, 15.2786)
Luminance0.1069 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12F6C #2FA164
analogous
#9D2FA1 #A12F6C #A12F33
triadic
#A12F6C #6CA12F #2F6CA1
tetradic
#A12F6C #A19D2F #2FA164 #2F33A1
square
#A12F6C #A19D2F #2FA164 #2F33A1
split-complementary
#A12F6C #33A12F #2FA19D
monochromatic
#42132C #72214C #A12F6C #C9458B #D674A9

Accessibility & contrast

On white

6.69
#A12F6C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#A12F6C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12F6C
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12F6C#FFFFFF#000000##FFFFFF
##A12F6C1.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414F6E
Deuteranopia (green-blind)
#626369
Tritanopia (blue-blind)
#AD2749
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a12f6c;
/* rgb */ color: rgb(161, 47, 108);
/* oklch */ color: oklch(49.6% 0.161 351.7);
Tailwind
colors: {
  custom: {
    50: '#c17196',
    500: '#a12f6c',
    950: '#000000',
  },
}
SCSS
$custom: #a12f6c;
$custom-light: #c17196;
$custom-dark: #000000;
JSON
{
  "hex": "#a12f6c",
  "rgb": {
    "r": 161,
    "g": 47,
    "b": 108
  },
  "hsl": {
    "h": 327.895,
    "s": 54.808,
    "l": 40.784
  },
  "oklch": {
    "l": 0.49585,
    "c": 0.16064,
    "h": 351.7
  },
  "luminance": 0.10693
}

Semantic roles & 50–950 ramp

primary
#A12F6C
secondary
#6EBE93
accent
#DE8F4A
background
#FCF7F9
surface
#F8EDF1
border
#D1C8CB
text
#13080D
muted
#827B7E

Preview Lab

Preview with #A12F6C

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

Preview Lab → · Contrast checker → · Palette generator →

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