#A12B4E#A12B4E

#A12B4E is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.2% C 0.155 H 7.6°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#A12B4E
RGBrgb(161, 43, 78)
HSLhsl(342, 58%, 40%)
HSVhsv(342, 73%, 63%)
CMYKcmyk(0%, 73.3%, 51.6%, 36.9%)
CIE-LABlab(37.58, 50.40, 7.87)
CIE-LCHlch(37.58, 51.01, 8.88°)
OKLaboklab(48.19% 0.1535 0.0204)
OKLCHoklch(48.19% 0.155 7.6)
XYZxyz(16.9384, 9.8572, 8.2169)
Luminance0.0985 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12B4E #2BA17E
analogous
#A12B89 #A12B4E #A1432B
triadic
#A12B4E #4EA12B #2B4EA1
tetradic
#A12B4E #89A12B #2BA17E #432BA1
square
#A12B4E #89A12B #2BA17E #432BA1
split-complementary
#A12B4E #2BA143 #2B89A1
monochromatic
#40111F #711E37 #A12B4E #CB3E68 #D86E8E

Accessibility & contrast

On white

7.07
#A12B4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#A12B4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A12B4E
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12B4E#FFFFFF#000000##FFFFFF
##A12B4E1.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48494F
Deuteranopia (green-blind)
#67614B
Tritanopia (blue-blind)
#B01139
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a12b4e;
/* rgb */ color: rgb(161, 43, 78);
/* oklch */ color: oklch(48.2% 0.155 7.6);
Tailwind
colors: {
  custom: {
    50: '#c26e7f',
    500: '#a12b4e',
    950: '#000000',
  },
}
SCSS
$custom: #a12b4e;
$custom-light: #c26e7f;
$custom-dark: #000000;
JSON
{
  "hex": "#a12b4e",
  "rgb": {
    "r": 161,
    "g": 43,
    "b": 78
  },
  "hsl": {
    "h": 342.203,
    "s": 57.843,
    "l": 40
  },
  "oklch": {
    "l": 0.4819,
    "c": 0.15487,
    "h": 7.6
  },
  "luminance": 0.09855
}

Semantic roles & 50–950 ramp

primary
#A12B4E
secondary
#69BFA6
accent
#E1B347
background
#FCF7F7
surface
#F9EDEE
border
#D2C8C9
text
#13080A
muted
#827B7C

Preview Lab

Preview with #A12B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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