#A12D52#A12D52

#A12D52 is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.5% C 0.153 H 5.8°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#A12D52
RGBrgb(161, 45, 82)
HSLhsl(341, 56%, 40%)
HSVhsv(341, 72%, 63%)
CMYKcmyk(0%, 72%, 49.1%, 36.9%)
CIE-LABlab(37.96, 50.01, 5.85)
CIE-LCHlch(37.96, 50.36, 6.67°)
OKLaboklab(48.5% 0.1527 0.0154)
OKLCHoklch(48.5% 0.153 5.8)
XYZxyz(17.1607, 10.0653, 9.0201)
Luminance0.1006 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12D52 #2DA17C
analogous
#A12D8C #A12D52 #A1422D
triadic
#A12D52 #52A12D #2D52A1
tetradic
#A12D52 #8CA12D #2DA17C #422DA1
square
#A12D52 #8CA12D #2DA17C #422DA1
split-complementary
#A12D52 #2DA142 #2D8CA1
monochromatic
#411221 #71203A #A12D52 #CA416D #D77192

Accessibility & contrast

On white

6.97
#A12D52 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#A12D52 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12D52
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12D52#FFFFFF#000000##FFFFFF
##A12D521.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484B53
Deuteranopia (green-blind)
#67624F
Tritanopia (blue-blind)
#AF183C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a12d52;
/* rgb */ color: rgb(161, 45, 82);
/* oklch */ color: oklch(48.5% 0.153 5.8);
Tailwind
colors: {
  custom: {
    50: '#c26f82',
    500: '#a12d52',
    950: '#000000',
  },
}
SCSS
$custom: #a12d52;
$custom-light: #c26f82;
$custom-dark: #000000;
JSON
{
  "hex": "#a12d52",
  "rgb": {
    "r": 161,
    "g": 45,
    "b": 82
  },
  "hsl": {
    "h": 340.862,
    "s": 56.311,
    "l": 40.392
  },
  "oklch": {
    "l": 0.48501,
    "c": 0.15344,
    "h": 5.8
  },
  "luminance": 0.10063
}

Semantic roles & 50–950 ramp

primary
#A12D52
secondary
#6BBFA4
accent
#E0AF48
background
#FCF7F7
surface
#F8EDEE
border
#D1C8C9
text
#13080A
muted
#827B7C

Preview Lab

Preview with #A12D52

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

Preview Lab → · Contrast checker → · Palette generator →

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