#A12047#A12047

#A12047 is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.0% C 0.165 H 9.1°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#A12047
RGBrgb(161, 32, 71)
HSLhsl(342, 67%, 38%)
HSVhsv(342, 80%, 63%)
CMYKcmyk(0%, 80.1%, 55.9%, 36.9%)
CIE-LABlab(36.11, 53.47, 10.31)
CIE-LCHlch(36.11, 54.45, 10.92°)
OKLaboklab(47.05% 0.1625 0.0261)
OKLCHoklch(47.05% 0.165 9.1)
XYZxyz(16.3534, 9.0674, 6.8491)
Luminance0.0906 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12047 #20A17A
analogous
#A12088 #A12047 #A13920
triadic
#A12047 #47A120 #2047A1
tetradic
#A12047 #88A120 #20A17A #3920A1
square
#A12047 #88A120 #20A17A #3920A1
split-complementary
#A12047 #20A139 #2088A1
monochromatic
#3B0C1A #6E1630 #A12047 #D42A5E #DF5D84

Accessibility & contrast

On white

7.47
#A12047 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#A12047 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A12047
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12047#FFFFFF#000000##FFFFFF
##A120471.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434448
Deuteranopia (green-blind)
#655E44
Tritanopia (blue-blind)
#B00031
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #a12047;
/* rgb */ color: rgb(161, 32, 71);
/* oklch */ color: oklch(47.0% 0.165 9.1);
Tailwind
colors: {
  custom: {
    50: '#c36979',
    500: '#a12047',
    950: '#000000',
  },
}
SCSS
$custom: #a12047;
$custom-light: #c36979;
$custom-dark: #000000;
JSON
{
  "hex": "#a12047",
  "rgb": {
    "r": 161,
    "g": 32,
    "b": 71
  },
  "hsl": {
    "h": 341.86,
    "s": 66.839,
    "l": 37.843
  },
  "oklch": {
    "l": 0.47046,
    "c": 0.16459,
    "h": 9.1
  },
  "luminance": 0.09065
}

Semantic roles & 50–950 ramp

primary
#A12047
secondary
#5AC3A3
accent
#EAB63E
background
#FCF6F7
surface
#F9ECED
border
#D2C7C8
text
#140709
muted
#827A7B

Preview Lab

Preview with #A12047

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

Preview Lab → · Contrast checker → · Palette generator →

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