#A12147#A12147

#A12147 is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.1% C 0.164 H 9.3°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#A12147
RGBrgb(161, 33, 71)
HSLhsl(342, 66%, 38%)
HSVhsv(342, 80%, 63%)
CMYKcmyk(0%, 79.5%, 55.9%, 36.9%)
CIE-LABlab(36.22, 53.17, 10.46)
CIE-LCHlch(36.22, 54.19, 11.13°)
OKLaboklab(47.12% 0.1615 0.0265)
OKLCHoklch(47.12% 0.164 9.3)
XYZxyz(16.3807, 9.1221, 6.8582)
Luminance0.0912 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12147 #21A17B
analogous
#A12187 #A12147 #A13B21
triadic
#A12147 #47A121 #2147A1
tetradic
#A12147 #87A121 #21A17B #3B21A1
square
#A12147 #87A121 #21A17B #3B21A1
split-complementary
#A12147 #21A13B #2187A1
monochromatic
#3B0C1A #6E1731 #A12147 #D42C5D #DE5E84

Accessibility & contrast

On white

7.44
#A12147 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#A12147 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A12147
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12147#FFFFFF#000000##FFFFFF
##A121471.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a12147;
/* rgb */ color: rgb(161, 33, 71);
/* oklch */ color: oklch(47.1% 0.164 9.3);
Tailwind
colors: {
  custom: {
    50: '#c36a79',
    500: '#a12147',
    950: '#000000',
  },
}
SCSS
$custom: #a12147;
$custom-light: #c36a79;
$custom-dark: #000000;
JSON
{
  "hex": "#a12147",
  "rgb": {
    "r": 161,
    "g": 33,
    "b": 71
  },
  "hsl": {
    "h": 342.188,
    "s": 65.979,
    "l": 38.039
  },
  "oklch": {
    "l": 0.47123,
    "c": 0.1637,
    "h": 9.3
  },
  "luminance": 0.0912
}

Semantic roles & 50–950 ramp

primary
#A12147
secondary
#5BC3A4
accent
#E9B63F
background
#FCF6F7
surface
#F9ECED
border
#D2C7C8
text
#140709
muted
#827A7B

Preview Lab

Preview with #A12147

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

Preview Lab → · Contrast checker → · Palette generator →

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