#A12042#A12042

#A12042 is a mid, vivid pink. Relative luminance 0.090; OKLCH L 46.9% C 0.164 H 11.7°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#A12042
RGBrgb(161, 32, 66)
HSLhsl(344, 67%, 38%)
HSVhsv(344, 80%, 63%)
CMYKcmyk(0%, 80.1%, 59%, 36.9%)
CIE-LABlab(36.00, 53.10, 13.38)
CIE-LCHlch(36.00, 54.76, 14.14°)
OKLaboklab(46.92% 0.1605 0.0333)
OKLCHoklch(46.92% 0.164 11.7)
XYZxyz(16.1995, 9.0058, 6.0385)
Luminance0.0900 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12042 #20A17F
analogous
#A12082 #A12042 #A13E20
triadic
#A12042 #42A120 #2042A1
tetradic
#A12042 #82A120 #20A17F #3E20A1
square
#A12042 #82A120 #20A17F #3E20A1
split-complementary
#A12042 #20A13E #2082A1
monochromatic
#3B0C18 #6E162D #A12042 #D42A57 #DF5D7F

Accessibility & contrast

On white

7.50
#A12042 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#A12042 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A12042
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12042#FFFFFF#000000##FFFFFF
##A120421.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444442
Deuteranopia (green-blind)
#655E3F
Tritanopia (blue-blind)
#B0002F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #a12042;
/* rgb */ color: rgb(161, 32, 66);
/* oklch */ color: oklch(46.9% 0.164 11.7);
Tailwind
colors: {
  custom: {
    50: '#c46976',
    500: '#a12042',
    950: '#000000',
  },
}
SCSS
$custom: #a12042;
$custom-light: #c46976;
$custom-dark: #000000;
JSON
{
  "hex": "#a12042",
  "rgb": {
    "r": 161,
    "g": 32,
    "b": 66
  },
  "hsl": {
    "h": 344.186,
    "s": 66.839,
    "l": 37.843
  },
  "oklch": {
    "l": 0.4692,
    "c": 0.16392,
    "h": 11.7
  },
  "luminance": 0.09003
}

Semantic roles & 50–950 ramp

primary
#A12042
secondary
#5AC3A7
accent
#EABC3E
background
#FCF6F7
surface
#F9ECED
border
#D2C7C8
text
#140708
muted
#827A7B

Preview Lab

Preview with #A12042

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

Preview Lab → · Contrast checker → · Palette generator →

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