#A12F52#A12F52

#A12F52 is a mid, vivid pink. Relative luminance 0.102; OKLCH L 48.7% C 0.151 H 6.2°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#A12F52
RGBrgb(161, 47, 82)
HSLhsl(342, 55%, 41%)
HSVhsv(342, 71%, 63%)
CMYKcmyk(0%, 70.8%, 49.1%, 36.9%)
CIE-LABlab(38.24, 49.25, 6.24)
CIE-LCHlch(38.24, 49.64, 7.22°)
OKLaboklab(48.71% 0.1502 0.0164)
OKLCHoklch(48.71% 0.151 6.2)
XYZxyz(17.2389, 10.2215, 9.0462)
Luminance0.1022 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12F52 #2FA17E
analogous
#A12F8B #A12F52 #A1452F
triadic
#A12F52 #52A12F #2F52A1
tetradic
#A12F52 #8BA12F #2FA17E #452FA1
square
#A12F52 #8BA12F #2FA17E #452FA1
split-complementary
#A12F52 #2FA145 #2F8BA1
monochromatic
#421322 #72213A #A12F52 #C9456D #D67492

Accessibility & contrast

On white

6.90
#A12F52 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#A12F52 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12F52
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12F52#FFFFFF#000000##FFFFFF
##A12F521.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494C53
Deuteranopia (green-blind)
#67624F
Tritanopia (blue-blind)
#AF1B3D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a12f52;
/* rgb */ color: rgb(161, 47, 82);
/* oklch */ color: oklch(48.7% 0.151 6.2);
Tailwind
colors: {
  custom: {
    50: '#c27082',
    500: '#a12f52',
    950: '#000000',
  },
}
SCSS
$custom: #a12f52;
$custom-light: #c27082;
$custom-dark: #000000;
JSON
{
  "hex": "#a12f52",
  "rgb": {
    "r": 161,
    "g": 47,
    "b": 82
  },
  "hsl": {
    "h": 341.579,
    "s": 54.808,
    "l": 40.784
  },
  "oklch": {
    "l": 0.48707,
    "c": 0.1511,
    "h": 6.2
  },
  "luminance": 0.10219
}

Semantic roles & 50–950 ramp

primary
#A12F52
secondary
#6EBEA5
accent
#DEB14A
background
#FCF7F7
surface
#F8EDEE
border
#D1C8C9
text
#13080A
muted
#827B7C

Preview Lab

Preview with #A12F52

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

Preview Lab → · Contrast checker → · Palette generator →

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