#A12052#A12052

#A12052 is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.4% C 0.167 H 3.4°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#A12052
RGBrgb(161, 32, 82)
HSLhsl(337, 67%, 38%)
HSVhsv(337, 80%, 63%)
CMYKcmyk(0%, 80.1%, 49.1%, 36.9%)
CIE-LABlab(36.41, 54.37, 3.63)
CIE-LCHlch(36.41, 54.49, 3.82°)
OKLaboklab(47.36% 0.1667 0.0098)
OKLCHoklch(47.36% 0.167 3.4)
XYZxyz(16.7389, 9.2216, 8.8795)
Luminance0.0922 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12052 #20A16F
analogous
#A12092 #A12052 #A12E20
triadic
#A12052 #52A120 #2052A1
tetradic
#A12052 #92A120 #20A16F #2E20A1
square
#A12052 #92A120 #20A16F #2E20A1
split-complementary
#A12052 #20A12E #2092A1
monochromatic
#3B0C1E #6E1638 #A12052 #D42A6C #DF5D8F

Accessibility & contrast

On white

7.38
#A12052 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#A12052 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A12052
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12052#FFFFFF#000000##FFFFFF
##A120521.007.382.847.38
#FFFFFF7.381.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414653
Deuteranopia (green-blind)
#635F4F
Tritanopia (blue-blind)
#AF0036
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #a12052;
/* rgb */ color: rgb(161, 32, 82);
/* oklch */ color: oklch(47.4% 0.167 3.4);
Tailwind
colors: {
  custom: {
    50: '#c36a82',
    500: '#a12052',
    950: '#000000',
  },
}
SCSS
$custom: #a12052;
$custom-light: #c36a82;
$custom-dark: #000000;
JSON
{
  "hex": "#a12052",
  "rgb": {
    "r": 161,
    "g": 32,
    "b": 82
  },
  "hsl": {
    "h": 336.744,
    "s": 66.839,
    "l": 37.843
  },
  "oklch": {
    "l": 0.47358,
    "c": 0.16696,
    "h": 3.4
  },
  "luminance": 0.09219
}

Semantic roles & 50–950 ramp

primary
#A12052
secondary
#5AC39A
accent
#EAA73E
background
#FCF6F7
surface
#F9ECEE
border
#D2C7C9
text
#14070A
muted
#827A7C

Preview Lab

Preview with #A12052

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

Preview Lab → · Contrast checker → · Palette generator →

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