#A12F6E#A12F6E

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

Color values

HEX#A12F6E
RGBrgb(161, 47, 110)
HSLhsl(327, 55%, 41%)
HSVhsv(327, 71%, 63%)
CMYKcmyk(0%, 70.8%, 31.7%, 36.9%)
CIE-LABlab(39.14, 52.27, -10.14)
CIE-LCHlch(39.14, 53.24, 349.02°)
OKLaboklab(49.66% 0.1595 -0.0264)
OKLCHoklch(49.66% 0.162 350.6)
XYZxyz(18.5299, 10.7380, 15.8456)
Luminance0.1074 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12F6E #2FA162
analogous
#9B2FA1 #A12F6E #A12F35
triadic
#A12F6E #6EA12F #2F6EA1
tetradic
#A12F6E #A19B2F #2FA162 #2F35A1
square
#A12F6E #A19B2F #2FA162 #2F35A1
split-complementary
#A12F6E #35A12F #2FA19B
monochromatic
#42132D #72214E #A12F6E #C9458E #D674AA

Accessibility & contrast

On white

6.67
#A12F6E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A12F6E
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12F6E#FFFFFF#000000##FFFFFF
##A12F6E1.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a12f6e;
/* rgb */ color: rgb(161, 47, 110);
/* oklch */ color: oklch(49.7% 0.162 350.6);
Tailwind
colors: {
  custom: {
    50: '#c17197',
    500: '#a12f6e',
    950: '#000000',
  },
}
SCSS
$custom: #a12f6e;
$custom-light: #c17197;
$custom-dark: #000000;
JSON
{
  "hex": "#a12f6e",
  "rgb": {
    "r": 161,
    "g": 47,
    "b": 110
  },
  "hsl": {
    "h": 326.842,
    "s": 54.808,
    "l": 40.784
  },
  "oklch": {
    "l": 0.49663,
    "c": 0.16167,
    "h": 350.6
  },
  "luminance": 0.10736
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A12F6E

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

Preview Lab → · Contrast checker → · Palette generator →

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