#A12552#A12552

#A12552 is a mid, vivid pink. Relative luminance 0.095; OKLCH L 47.8% C 0.162 H 4.2°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#A12552
RGBrgb(161, 37, 82)
HSLhsl(338, 63%, 39%)
HSVhsv(338, 77%, 63%)
CMYKcmyk(0%, 77%, 49.1%, 36.9%)
CIE-LABlab(36.95, 52.83, 4.41)
CIE-LCHlch(36.95, 53.01, 4.77°)
OKLaboklab(47.76% 0.1617 0.0118)
OKLCHoklch(47.76% 0.162 4.2)
XYZxyz(16.8839, 9.5117, 8.9279)
Luminance0.0951 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12552 #25A174
analogous
#A12590 #A12552 #A13625
triadic
#A12552 #52A125 #2552A1
tetradic
#A12552 #90A125 #25A174 #3625A1
square
#A12552 #90A125 #25A174 #3625A1
split-complementary
#A12552 #25A136 #2590A1
monochromatic
#3D0E1F #6F1A39 #A12552 #D0336C #DC6590

Accessibility & contrast

On white

7.24
#A12552 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#A12552 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A12552
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12552#FFFFFF#000000##FFFFFF
##A125521.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434753
Deuteranopia (green-blind)
#64604F
Tritanopia (blue-blind)
#AF0638
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a12552;
/* rgb */ color: rgb(161, 37, 82);
/* oklch */ color: oklch(47.8% 0.162 4.2);
Tailwind
colors: {
  custom: {
    50: '#c26c82',
    500: '#a12552',
    950: '#000000',
  },
}
SCSS
$custom: #a12552;
$custom-light: #c26c82;
$custom-dark: #000000;
JSON
{
  "hex": "#a12552",
  "rgb": {
    "r": 161,
    "g": 37,
    "b": 82
  },
  "hsl": {
    "h": 338.226,
    "s": 62.626,
    "l": 38.824
  },
  "oklch": {
    "l": 0.47757,
    "c": 0.16215,
    "h": 4.2
  },
  "luminance": 0.09509
}

Semantic roles & 50–950 ramp

primary
#A12552
secondary
#61C19E
accent
#E6AA42
background
#FCF6F7
surface
#F9ECEE
border
#D2C7C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #A12552

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

Preview Lab → · Contrast checker → · Palette generator →

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