#A12E5F#A12E5F

#A12E5F is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.0% C 0.156 H 358.6°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#A12E5F
RGBrgb(161, 46, 95)
HSLhsl(334, 56%, 41%)
HSVhsv(334, 71%, 63%)
CMYKcmyk(0%, 71.4%, 41%, 36.9%)
CIE-LABlab(38.48, 50.92, -1.66)
CIE-LCHlch(38.48, 50.95, 358.13°)
OKLaboklab(49.01% 0.1561 -0.0037)
OKLCHoklch(49.01% 0.156 358.6)
XYZxyz(17.7417, 10.3595, 11.8895)
Luminance0.1036 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12E5F #2EA170
analogous
#A12E98 #A12E5F #A1362E
triadic
#A12E5F #5FA12E #2E5FA1
tetradic
#A12E5F #98A12E #2EA170 #362EA1
square
#A12E5F #98A12E #2EA170 #362EA1
split-complementary
#A12E5F #2EA136 #2E98A1
monochromatic
#421327 #712043 #A12E5F #C9437C #D7739D

Accessibility & contrast

On white

6.84
#A12E5F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#A12E5F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12E5F
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12E5F#FFFFFF#000000##FFFFFF
##A12E5F1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454D60
Deuteranopia (green-blind)
#64635C
Tritanopia (blue-blind)
#AE2043
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a12e5f;
/* rgb */ color: rgb(161, 46, 95);
/* oklch */ color: oklch(49.0% 0.156 358.6);
Tailwind
colors: {
  custom: {
    50: '#c1708c',
    500: '#a12e5f',
    950: '#000000',
  },
}
SCSS
$custom: #a12e5f;
$custom-light: #c1708c;
$custom-dark: #000000;
JSON
{
  "hex": "#a12e5f",
  "rgb": {
    "r": 161,
    "g": 46,
    "b": 95
  },
  "hsl": {
    "h": 334.435,
    "s": 55.556,
    "l": 40.588
  },
  "oklch": {
    "l": 0.49011,
    "c": 0.15617,
    "h": 358.6
  },
  "luminance": 0.10357
}

Semantic roles & 50–950 ramp

primary
#A12E5F
secondary
#6CBE9B
accent
#DF9F49
background
#FCF7F8
surface
#F8EDF0
border
#D1C8CB
text
#13080C
muted
#827B7D

Preview Lab

Preview with #A12E5F

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

Preview Lab → · Contrast checker → · Palette generator →

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