#A12452#A12452

#A12452 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.7% C 0.163 H 4.0°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#A12452
RGBrgb(161, 36, 82)
HSLhsl(338, 63%, 39%)
HSVhsv(338, 78%, 63%)
CMYKcmyk(0%, 77.6%, 49.1%, 36.9%)
CIE-LABlab(36.84, 53.15, 4.24)
CIE-LCHlch(36.84, 53.32, 4.57°)
OKLaboklab(47.67% 0.1628 0.0114)
OKLCHoklch(47.67% 0.163 4)
XYZxyz(16.8532, 9.4503, 8.9176)
Luminance0.0945 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12452 #24A173
analogous
#A12490 #A12452 #A13424
triadic
#A12452 #52A124 #2452A1
tetradic
#A12452 #90A124 #24A173 #3424A1
square
#A12452 #90A124 #24A173 #3424A1
split-complementary
#A12452 #24A134 #2490A1
monochromatic
#3D0E1F #6F1939 #A12452 #D1316C #DC6390

Accessibility & contrast

On white

7.27
#A12452 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#A12452 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A12452
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12452#FFFFFF#000000##FFFFFF
##A124521.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434753
Deuteranopia (green-blind)
#645F4F
Tritanopia (blue-blind)
#AF0338
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a12452;
/* rgb */ color: rgb(161, 36, 82);
/* oklch */ color: oklch(47.7% 0.163 4.0);
Tailwind
colors: {
  custom: {
    50: '#c26b82',
    500: '#a12452',
    950: '#000000',
  },
}
SCSS
$custom: #a12452;
$custom-light: #c26b82;
$custom-dark: #000000;
JSON
{
  "hex": "#a12452",
  "rgb": {
    "r": 161,
    "g": 36,
    "b": 82
  },
  "hsl": {
    "h": 337.92,
    "s": 63.452,
    "l": 38.627
  },
  "oklch": {
    "l": 0.47673,
    "c": 0.16315,
    "h": 4
  },
  "luminance": 0.09448
}

Semantic roles & 50–950 ramp

primary
#A12452
secondary
#5FC29D
accent
#E6AA41
background
#FCF6F7
surface
#F9ECEE
border
#D2C7C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #A12452

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

Preview Lab → · Contrast checker → · Palette generator →

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