#A12F6D#A12F6D

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

Color values

HEX#A12F6D
RGBrgb(161, 47, 109)
HSLhsl(327, 55%, 41%)
HSVhsv(327, 71%, 63%)
CMYKcmyk(0%, 70.8%, 32.3%, 36.9%)
CIE-LABlab(39.10, 52.15, -9.57)
CIE-LCHlch(39.10, 53.02, 349.60°)
OKLaboklab(49.62% 0.1592 -0.0248)
OKLCHoklch(49.62% 0.161 351.1)
XYZxyz(18.4758, 10.7163, 15.5605)
Luminance0.1071 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12F6D #2FA163
analogous
#9C2FA1 #A12F6D #A12F34
triadic
#A12F6D #6DA12F #2F6DA1
tetradic
#A12F6D #A19C2F #2FA163 #2F34A1
square
#A12F6D #A19C2F #2FA163 #2F34A1
split-complementary
#A12F6D #34A12F #2FA19C
monochromatic
#42132D #72214D #A12F6D #C9458C #D674AA

Accessibility & contrast

On white

6.68
#A12F6D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A12F6D
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12F6D#FFFFFF#000000##FFFFFF
##A12F6D1.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414F6F
Deuteranopia (green-blind)
#61646A
Tritanopia (blue-blind)
#AD284A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a12f6d;
/* rgb */ color: rgb(161, 47, 109);
/* oklch */ color: oklch(49.6% 0.161 351.1);
Tailwind
colors: {
  custom: {
    50: '#c17196',
    500: '#a12f6d',
    950: '#000000',
  },
}
SCSS
$custom: #a12f6d;
$custom-light: #c17196;
$custom-dark: #000000;
JSON
{
  "hex": "#a12f6d",
  "rgb": {
    "r": 161,
    "g": 47,
    "b": 109
  },
  "hsl": {
    "h": 327.368,
    "s": 54.808,
    "l": 40.784
  },
  "oklch": {
    "l": 0.49624,
    "c": 0.16115,
    "h": 351.1
  },
  "luminance": 0.10714
}

Semantic roles & 50–950 ramp

primary
#A12F6D
secondary
#6EBE92
accent
#DE8D4A
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080D
muted
#827B7E

Preview Lab

Preview with #A12F6D

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

Preview Lab → · Contrast checker → · Palette generator →

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