#A12652#A12652

#A12652 is a mid, vivid pink. Relative luminance 0.096; OKLCH L 47.8% C 0.161 H 4.3°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#A12652
RGBrgb(161, 38, 82)
HSLhsl(339, 62%, 39%)
HSVhsv(339, 76%, 63%)
CMYKcmyk(0%, 76.4%, 49.1%, 36.9%)
CIE-LABlab(37.07, 52.50, 4.57)
CIE-LCHlch(37.07, 52.70, 4.98°)
OKLaboklab(47.84% 0.1607 0.0122)
OKLCHoklch(47.84% 0.161 4.3)
XYZxyz(16.9155, 9.5748, 8.9384)
Luminance0.0957 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12652 #26A175
analogous
#A12690 #A12652 #A13826
triadic
#A12652 #52A126 #2652A1
tetradic
#A12652 #90A126 #26A175 #3826A1
square
#A12652 #90A126 #26A175 #3826A1
split-complementary
#A12652 #26A138 #2690A1
monochromatic
#3E0F20 #6F1A39 #A12652 #CF356C #DB6690

Accessibility & contrast

On white

7.21
#A12652 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#A12652 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A12652
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12652#FFFFFF#000000##FFFFFF
##A126521.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a12652;
/* rgb */ color: rgb(161, 38, 82);
/* oklch */ color: oklch(47.8% 0.161 4.3);
Tailwind
colors: {
  custom: {
    50: '#c26c82',
    500: '#a12652',
    950: '#000000',
  },
}
SCSS
$custom: #a12652;
$custom-light: #c26c82;
$custom-dark: #000000;
JSON
{
  "hex": "#a12652",
  "rgb": {
    "r": 161,
    "g": 38,
    "b": 82
  },
  "hsl": {
    "h": 338.537,
    "s": 61.809,
    "l": 39.02
  },
  "oklch": {
    "l": 0.47843,
    "c": 0.16112,
    "h": 4.3
  },
  "luminance": 0.09572
}

Semantic roles & 50–950 ramp

primary
#A12652
secondary
#62C19F
accent
#E5AB43
background
#FCF6F7
surface
#F9ECEE
border
#D2C7C9
text
#13080A
muted
#827B7C

Preview Lab

Preview with #A12652

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

Preview Lab → · Contrast checker → · Palette generator →

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