#A12A4E#A12A4E

#A12A4E is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.1% C 0.156 H 7.3°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#A12A4E
RGBrgb(161, 42, 78)
HSLhsl(342, 59%, 40%)
HSVhsv(342, 74%, 63%)
CMYKcmyk(0%, 73.9%, 51.6%, 36.9%)
CIE-LABlab(37.45, 50.77, 7.69)
CIE-LCHlch(37.45, 51.34, 8.61°)
OKLaboklab(48.09% 0.1547 0.0199)
OKLCHoklch(48.09% 0.156 7.3)
XYZxyz(16.9025, 9.7854, 8.2050)
Luminance0.0978 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12A4E #2AA17D
analogous
#A12A89 #A12A4E #A1422A
triadic
#A12A4E #4EA12A #2A4EA1
tetradic
#A12A4E #89A12A #2AA17D #422AA1
square
#A12A4E #89A12A #2AA17D #422AA1
split-complementary
#A12A4E #2AA142 #2A89A1
monochromatic
#40111F #701D36 #A12A4E #CC3C68 #D96D8D

Accessibility & contrast

On white

7.10
#A12A4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#A12A4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A12A4E
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12A4E#FFFFFF#000000##FFFFFF
##A12A4E1.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47494F
Deuteranopia (green-blind)
#66614B
Tritanopia (blue-blind)
#B00F39
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a12a4e;
/* rgb */ color: rgb(161, 42, 78);
/* oklch */ color: oklch(48.1% 0.156 7.3);
Tailwind
colors: {
  custom: {
    50: '#c26e7f',
    500: '#a12a4e',
    950: '#000000',
  },
}
SCSS
$custom: #a12a4e;
$custom-light: #c26e7f;
$custom-dark: #000000;
JSON
{
  "hex": "#a12a4e",
  "rgb": {
    "r": 161,
    "g": 42,
    "b": 78
  },
  "hsl": {
    "h": 341.849,
    "s": 58.621,
    "l": 39.804
  },
  "oklch": {
    "l": 0.48093,
    "c": 0.15597,
    "h": 7.3
  },
  "luminance": 0.09783
}

Semantic roles & 50–950 ramp

primary
#A12A4E
secondary
#67C0A5
accent
#E2B346
background
#FCF6F7
surface
#F9ECEE
border
#D2C7C9
text
#13080A
muted
#827B7C

Preview Lab

Preview with #A12A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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