#A12F6F#A12F6F

#A12F6F is a mid, vivid pink. Relative luminance 0.108; OKLCH L 49.7% C 0.162 H 350.1°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#A12F6F
RGBrgb(161, 47, 111)
HSLhsl(326, 55%, 41%)
HSVhsv(326, 71%, 63%)
CMYKcmyk(0%, 70.8%, 31.1%, 36.9%)
CIE-LABlab(39.17, 52.39, -10.71)
CIE-LCHlch(39.17, 53.48, 348.45°)
OKLaboklab(49.7% 0.1598 -0.0279)
OKLCHoklch(49.7% 0.162 350.1)
XYZxyz(18.5846, 10.7599, 16.1340)
Luminance0.1076 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12F6F #2FA161
analogous
#9A2FA1 #A12F6F #A12F36
triadic
#A12F6F #6FA12F #2F6FA1
tetradic
#A12F6F #A19A2F #2FA161 #2F36A1
square
#A12F6F #A19A2F #2FA161 #2F36A1
split-complementary
#A12F6F #36A12F #2FA19A
monochromatic
#42132E #72214E #A12F6F #C9458F #D674AB

Accessibility & contrast

On white

6.66
#A12F6F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#A12F6F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12F6F
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12F6F#FFFFFF#000000##FFFFFF
##A12F6F1.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404F71
Deuteranopia (green-blind)
#61646C
Tritanopia (blue-blind)
#AD294B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a12f6f;
/* rgb */ color: rgb(161, 47, 111);
/* oklch */ color: oklch(49.7% 0.162 350.1);
Tailwind
colors: {
  custom: {
    50: '#c17198',
    500: '#a12f6f',
    950: '#000000',
  },
}
SCSS
$custom: #a12f6f;
$custom-light: #c17198;
$custom-dark: #000000;
JSON
{
  "hex": "#a12f6f",
  "rgb": {
    "r": 161,
    "g": 47,
    "b": 111
  },
  "hsl": {
    "h": 326.316,
    "s": 54.808,
    "l": 40.784
  },
  "oklch": {
    "l": 0.49703,
    "c": 0.1622,
    "h": 350.1
  },
  "luminance": 0.10758
}

Semantic roles & 50–950 ramp

primary
#A12F6F
secondary
#6EBE91
accent
#DE8B4A
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080D
muted
#827B7E

Preview Lab

Preview with #A12F6F

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

Preview Lab → · Contrast checker → · Palette generator →

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