#A12752#A12752

#A12752 is a mid, vivid pink. Relative luminance 0.096; OKLCH L 47.9% C 0.160 H 4.5°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#A12752
RGBrgb(161, 39, 82)
HSLhsl(339, 61%, 39%)
HSVhsv(339, 76%, 63%)
CMYKcmyk(0%, 75.8%, 49.1%, 36.9%)
CIE-LABlab(37.19, 52.17, 4.75)
CIE-LCHlch(37.19, 52.38, 5.20°)
OKLaboklab(47.93% 0.1596 0.0126)
OKLCHoklch(47.93% 0.16 4.5)
XYZxyz(16.9479, 9.6396, 8.9492)
Luminance0.0964 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12752 #27A176
analogous
#A1278F #A12752 #A13927
triadic
#A12752 #52A127 #2752A1
tetradic
#A12752 #8FA127 #27A176 #3927A1
square
#A12752 #8FA127 #27A176 #3927A1
split-complementary
#A12752 #27A139 #278FA1
monochromatic
#3E0F20 #701B39 #A12752 #CE376C #DA6890

Accessibility & contrast

On white

7.17
#A12752 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#A12752 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A12752
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12752#FFFFFF#000000##FFFFFF
##A127521.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444853
Deuteranopia (green-blind)
#65604F
Tritanopia (blue-blind)
#AF0B39
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a12752;
/* rgb */ color: rgb(161, 39, 82);
/* oklch */ color: oklch(47.9% 0.160 4.5);
Tailwind
colors: {
  custom: {
    50: '#c26c82',
    500: '#a12752',
    950: '#000000',
  },
}
SCSS
$custom: #a12752;
$custom-light: #c26c82;
$custom-dark: #000000;
JSON
{
  "hex": "#a12752",
  "rgb": {
    "r": 161,
    "g": 39,
    "b": 82
  },
  "hsl": {
    "h": 338.852,
    "s": 61,
    "l": 39.216
  },
  "oklch": {
    "l": 0.47931,
    "c": 0.16008,
    "h": 4.5
  },
  "luminance": 0.09637
}

Semantic roles & 50–950 ramp

primary
#A12752
secondary
#63C0A0
accent
#E4AC44
background
#FCF6F7
surface
#F9ECEE
border
#D2C7C9
text
#13080A
muted
#827B7C

Preview Lab

Preview with #A12752

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

Preview Lab → · Contrast checker → · Palette generator →

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