#A12E4C#A12E4C

#A12E4C is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.4% C 0.151 H 9.4°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#A12E4C
RGBrgb(161, 46, 76)
HSLhsl(344, 56%, 41%)
HSVhsv(344, 71%, 63%)
CMYKcmyk(0%, 71.4%, 52.8%, 36.9%)
CIE-LABlab(37.94, 49.10, 9.65)
CIE-LCHlch(37.94, 50.04, 11.11°)
OKLaboklab(48.44% 0.1491 0.0247)
OKLCHoklch(48.44% 0.151 9.4)
XYZxyz(16.9809, 10.0551, 7.8827)
Luminance0.1005 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12E4C #2EA183
analogous
#A12E85 #A12E4C #A1492E
triadic
#A12E4C #4CA12E #2E4CA1
tetradic
#A12E4C #85A12E #2EA183 #492EA1
square
#A12E4C #85A12E #2EA183 #492EA1
split-complementary
#A12E4C #2EA149 #2E85A1
monochromatic
#42131F #712036 #A12E4C #C94366 #D7738D

Accessibility & contrast

On white

6.98
#A12E4C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#A12E4C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12E4C
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12E4C#FFFFFF#000000##FFFFFF
##A12E4C1.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4B4D
Deuteranopia (green-blind)
#686249
Tritanopia (blue-blind)
#B0163A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a12e4c;
/* rgb */ color: rgb(161, 46, 76);
/* oklch */ color: oklch(48.4% 0.151 9.4);
Tailwind
colors: {
  custom: {
    50: '#c26f7d',
    500: '#a12e4c',
    950: '#000000',
  },
}
SCSS
$custom: #a12e4c;
$custom-light: #c26f7d;
$custom-dark: #000000;
JSON
{
  "hex": "#a12e4c",
  "rgb": {
    "r": 161,
    "g": 46,
    "b": 76
  },
  "hsl": {
    "h": 344.348,
    "s": 55.556,
    "l": 40.588
  },
  "oklch": {
    "l": 0.48437,
    "c": 0.15116,
    "h": 9.4
  },
  "luminance": 0.10053
}

Semantic roles & 50–950 ramp

primary
#A12E4C
secondary
#6CBEA9
accent
#DFB849
background
#FCF7F7
surface
#F9EDEE
border
#D2C8C9
text
#130809
muted
#827B7B

Preview Lab

Preview with #A12E4C

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

Preview Lab → · Contrast checker → · Palette generator →

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