#A12C4E#A12C4E

#A12C4E is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.3% C 0.154 H 7.8°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#A12C4E
RGBrgb(161, 44, 78)
HSLhsl(343, 57%, 40%)
HSVhsv(343, 73%, 63%)
CMYKcmyk(0%, 72.7%, 51.6%, 36.9%)
CIE-LABlab(37.72, 50.03, 8.06)
CIE-LCHlch(37.72, 50.68, 9.15°)
OKLaboklab(48.29% 0.1523 0.0208)
OKLCHoklch(48.29% 0.154 7.8)
XYZxyz(16.9752, 9.9308, 8.2292)
Luminance0.0993 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12C4E #2CA17F
analogous
#A12C88 #A12C4E #A1442C
triadic
#A12C4E #4EA12C #2C4EA1
tetradic
#A12C4E #88A12C #2CA17F #442CA1
square
#A12C4E #88A12C #2CA17F #442CA1
split-complementary
#A12C4E #2CA144 #2C88A1
monochromatic
#41121F #711F37 #A12C4E #CB4068 #D8708E

Accessibility & contrast

On white

7.03
#A12C4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#A12C4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A12C4E
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12C4E#FFFFFF#000000##FFFFFF
##A12C4E1.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484A4F
Deuteranopia (green-blind)
#67614B
Tritanopia (blue-blind)
#B0133A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a12c4e;
/* rgb */ color: rgb(161, 44, 78);
/* oklch */ color: oklch(48.3% 0.154 7.8);
Tailwind
colors: {
  custom: {
    50: '#c26f7f',
    500: '#a12c4e',
    950: '#000000',
  },
}
SCSS
$custom: #a12c4e;
$custom-light: #c26f7f;
$custom-dark: #000000;
JSON
{
  "hex": "#a12c4e",
  "rgb": {
    "r": 161,
    "g": 44,
    "b": 78
  },
  "hsl": {
    "h": 342.564,
    "s": 57.073,
    "l": 40.196
  },
  "oklch": {
    "l": 0.48288,
    "c": 0.15376,
    "h": 7.8
  },
  "luminance": 0.09928
}

Semantic roles & 50–950 ramp

primary
#A12C4E
secondary
#6ABFA6
accent
#E0B447
background
#FCF7F7
surface
#F9EDEE
border
#D2C8C9
text
#13080A
muted
#827B7C

Preview Lab

Preview with #A12C4E

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

Preview Lab → · Contrast checker → · Palette generator →

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