#A12F56#A12F56

#A12F56 is a mid, vivid pink. Relative luminance 0.103; OKLCH L 48.8% C 0.152 H 3.9°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#A12F56
RGBrgb(161, 47, 86)
HSLhsl(339, 55%, 41%)
HSVhsv(339, 71%, 63%)
CMYKcmyk(0%, 70.8%, 46.6%, 36.9%)
CIE-LABlab(38.35, 49.62, 3.86)
CIE-LCHlch(38.35, 49.77, 4.44°)
OKLaboklab(48.83% 0.1517 0.0104)
OKLCHoklch(48.83% 0.152 3.9)
XYZxyz(17.3955, 10.2842, 9.8713)
Luminance0.1028 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12F56 #2FA17A
analogous
#A12F8F #A12F56 #A1412F
triadic
#A12F56 #56A12F #2F56A1
tetradic
#A12F56 #8FA12F #2FA17A #412FA1
square
#A12F56 #8FA12F #2FA17A #412FA1
split-complementary
#A12F56 #2FA141 #2F8FA1
monochromatic
#421323 #72213D #A12F56 #C94572 #D67496

Accessibility & contrast

On white

6.87
#A12F56 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#A12F56 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12F56
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12F56#FFFFFF#000000##FFFFFF
##A12F561.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484C57
Deuteranopia (green-blind)
#666253
Tritanopia (blue-blind)
#AF1D3F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a12f56;
/* rgb */ color: rgb(161, 47, 86);
/* oklch */ color: oklch(48.8% 0.152 3.9);
Tailwind
colors: {
  custom: {
    50: '#c27085',
    500: '#a12f56',
    950: '#000000',
  },
}
SCSS
$custom: #a12f56;
$custom-light: #c27085;
$custom-dark: #000000;
JSON
{
  "hex": "#a12f56",
  "rgb": {
    "r": 161,
    "g": 47,
    "b": 86
  },
  "hsl": {
    "h": 339.474,
    "s": 54.808,
    "l": 40.784
  },
  "oklch": {
    "l": 0.48825,
    "c": 0.15208,
    "h": 3.9
  },
  "luminance": 0.10282
}

Semantic roles & 50–950 ramp

primary
#A12F56
secondary
#6EBEA3
accent
#DEAB4A
background
#FCF7F8
surface
#F8EDEF
border
#D1C8CA
text
#13080B
muted
#827B7C

Preview Lab

Preview with #A12F56

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

Preview Lab → · Contrast checker → · Palette generator →

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