#A12252#A12252

#A12252 is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.5% C 0.165 H 3.7°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#A12252
RGBrgb(161, 34, 82)
HSLhsl(337, 65%, 38%)
HSVhsv(337, 79%, 63%)
CMYKcmyk(0%, 78.9%, 49.1%, 36.9%)
CIE-LABlab(36.62, 53.78, 3.93)
CIE-LCHlch(36.62, 53.92, 4.18°)
OKLaboklab(47.51% 0.1648 0.0106)
OKLCHoklch(47.51% 0.165 3.7)
XYZxyz(16.7944, 9.3326, 8.8980)
Luminance0.0933 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12252 #22A171
analogous
#A12291 #A12252 #A13222
triadic
#A12252 #52A122 #2252A1
tetradic
#A12252 #91A122 #22A171 #3222A1
square
#A12252 #91A122 #22A171 #3222A1
split-complementary
#A12252 #22A132 #2291A1
monochromatic
#3C0D1F #6E1738 #A12252 #D32D6C #DD608F

Accessibility & contrast

On white

7.33
#A12252 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#A12252 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A12252
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12252#FFFFFF#000000##FFFFFF
##A122521.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a12252;
/* rgb */ color: rgb(161, 34, 82);
/* oklch */ color: oklch(47.5% 0.165 3.7);
Tailwind
colors: {
  custom: {
    50: '#c36a82',
    500: '#a12252',
    950: '#000000',
  },
}
SCSS
$custom: #a12252;
$custom-light: #c36a82;
$custom-dark: #000000;
JSON
{
  "hex": "#a12252",
  "rgb": {
    "r": 161,
    "g": 34,
    "b": 82
  },
  "hsl": {
    "h": 337.323,
    "s": 65.128,
    "l": 38.235
  },
  "oklch": {
    "l": 0.47511,
    "c": 0.1651,
    "h": 3.7
  },
  "luminance": 0.0933
}

Semantic roles & 50–950 ramp

primary
#A12252
secondary
#5DC29C
accent
#E8A840
background
#FCF6F7
surface
#F9ECEE
border
#D2C7C9
text
#14070A
muted
#827A7C

Preview Lab

Preview with #A12252

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

Preview Lab → · Contrast checker → · Palette generator →

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