#A12852#A12852

#A12852 is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.0% C 0.159 H 4.7°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#A12852
RGBrgb(161, 40, 82)
HSLhsl(339, 60%, 39%)
HSVhsv(339, 75%, 63%)
CMYKcmyk(0%, 75.2%, 49.1%, 36.9%)
CIE-LABlab(37.31, 51.83, 4.92)
CIE-LCHlch(37.31, 52.06, 5.42°)
OKLaboklab(48.02% 0.1585 0.0131)
OKLCHoklch(48.02% 0.159 4.7)
XYZxyz(16.9812, 9.7061, 8.9603)
Luminance0.0970 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12852 #28A177
analogous
#A1288E #A12852 #A13B28
triadic
#A12852 #52A128 #2852A1
tetradic
#A12852 #8EA128 #28A177 #3B28A1
square
#A12852 #8EA128 #28A177 #3B28A1
split-complementary
#A12852 #28A13B #288EA1
monochromatic
#3F1020 #701C39 #A12852 #CE396C #DA6A91

Accessibility & contrast

On white

7.14
#A12852 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#A12852 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A12852
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12852#FFFFFF#000000##FFFFFF
##A128521.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454953
Deuteranopia (green-blind)
#65604F
Tritanopia (blue-blind)
#AF0E3A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a12852;
/* rgb */ color: rgb(161, 40, 82);
/* oklch */ color: oklch(48.0% 0.159 4.7);
Tailwind
colors: {
  custom: {
    50: '#c26d82',
    500: '#a12852',
    950: '#000000',
  },
}
SCSS
$custom: #a12852;
$custom-light: #c26d82;
$custom-dark: #000000;
JSON
{
  "hex": "#a12852",
  "rgb": {
    "r": 161,
    "g": 40,
    "b": 82
  },
  "hsl": {
    "h": 339.174,
    "s": 60.199,
    "l": 39.412
  },
  "oklch": {
    "l": 0.48021,
    "c": 0.15902,
    "h": 4.7
  },
  "luminance": 0.09704
}

Semantic roles & 50–950 ramp

primary
#A12852
secondary
#65C0A0
accent
#E3AC44
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13080A
muted
#827B7C

Preview Lab

Preview with #A12852

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

Preview Lab → · Contrast checker → · Palette generator →

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