#A12D5C#A12D5C

#A12D5C is a mid, vivid pink. Relative luminance 0.102; OKLCH L 48.8% C 0.156 H 0.1°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#A12D5C
RGBrgb(161, 45, 92)
HSLhsl(336, 56%, 40%)
HSVhsv(336, 72%, 63%)
CMYKcmyk(0%, 72%, 42.9%, 36.9%)
CIE-LABlab(38.25, 50.99, -0.10)
CIE-LCHlch(38.25, 50.99, 359.89°)
OKLaboklab(48.81% 0.1563 0.0003)
OKLCHoklch(48.81% 0.156 0.1)
XYZxyz(17.5694, 10.2288, 11.1723)
Luminance0.1023 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12D5C #2DA172
analogous
#A12D96 #A12D5C #A1382D
triadic
#A12D5C #5CA12D #2D5CA1
tetradic
#A12D5C #96A12D #2DA172 #382DA1
square
#A12D5C #96A12D #2DA172 #382DA1
split-complementary
#A12D5C #2DA138 #2D96A1
monochromatic
#411225 #712041 #A12D5C #CA4179 #D7719B

Accessibility & contrast

On white

6.90
#A12D5C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#A12D5C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12D5C
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12D5C#FFFFFF#000000##FFFFFF
##A12D5C1.006.903.056.90
#FFFFFF6.901.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454C5D
Deuteranopia (green-blind)
#656259
Tritanopia (blue-blind)
#AF1D41
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a12d5c;
/* rgb */ color: rgb(161, 45, 92);
/* oklch */ color: oklch(48.8% 0.156 0.1);
Tailwind
colors: {
  custom: {
    50: '#c26f8a',
    500: '#a12d5c',
    950: '#000000',
  },
}
SCSS
$custom: #a12d5c;
$custom-light: #c26f8a;
$custom-dark: #000000;
JSON
{
  "hex": "#a12d5c",
  "rgb": {
    "r": 161,
    "g": 45,
    "b": 92
  },
  "hsl": {
    "h": 335.69,
    "s": 56.311,
    "l": 40.392
  },
  "oklch": {
    "l": 0.48811,
    "c": 0.15631,
    "h": 0.1
  },
  "luminance": 0.10227
}

Semantic roles & 50–950 ramp

primary
#A12D5C
secondary
#6BBF9D
accent
#E0A248
background
#FCF7F8
surface
#F8EDF0
border
#D1C8CB
text
#13080B
muted
#827B7C

Preview Lab

Preview with #A12D5C

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

Preview Lab → · Contrast checker → · Palette generator →

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