#A12151#A12151

#A12151 is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.4% C 0.166 H 4.1°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#A12151
RGBrgb(161, 33, 81)
HSLhsl(338, 66%, 38%)
HSVhsv(338, 80%, 63%)
CMYKcmyk(0%, 79.5%, 49.7%, 36.9%)
CIE-LABlab(36.48, 53.99, 4.38)
CIE-LCHlch(36.48, 54.17, 4.64°)
OKLaboklab(47.4% 0.1654 0.0117)
OKLCHoklch(47.4% 0.166 4.1)
XYZxyz(16.7285, 9.2612, 8.6897)
Luminance0.0926 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12151 #21A171
analogous
#A12191 #A12151 #A13121
triadic
#A12151 #51A121 #2151A1
tetradic
#A12151 #91A121 #21A171 #3121A1
square
#A12151 #91A121 #21A171 #3121A1
split-complementary
#A12151 #21A131 #2191A1
monochromatic
#3B0C1E #6E1737 #A12151 #D42C6B #DE5E8E

Accessibility & contrast

On white

7.36
#A12151 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#A12151 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A12151
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12151#FFFFFF#000000##FFFFFF
##A121511.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414652
Deuteranopia (green-blind)
#635F4E
Tritanopia (blue-blind)
#B00036
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #a12151;
/* rgb */ color: rgb(161, 33, 81);
/* oklch */ color: oklch(47.4% 0.166 4.1);
Tailwind
colors: {
  custom: {
    50: '#c36a81',
    500: '#a12151',
    950: '#000000',
  },
}
SCSS
$custom: #a12151;
$custom-light: #c36a81;
$custom-dark: #000000;
JSON
{
  "hex": "#a12151",
  "rgb": {
    "r": 161,
    "g": 33,
    "b": 81
  },
  "hsl": {
    "h": 337.5,
    "s": 65.979,
    "l": 38.039
  },
  "oklch": {
    "l": 0.47403,
    "c": 0.16577,
    "h": 4.1
  },
  "luminance": 0.09259
}

Semantic roles & 50–950 ramp

primary
#A12151
secondary
#5BC39C
accent
#E9A93F
background
#FCF6F7
surface
#F9ECEE
border
#D2C7C9
text
#14070A
muted
#827A7C

Preview Lab

Preview with #A12151

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

Preview Lab → · Contrast checker → · Palette generator →

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