#A12C62#A12C62

#A12C62 is a mid, vivid pink. Relative luminance 0.103; OKLCH L 48.9% C 0.160 H 356.6°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#A12C62
RGBrgb(161, 44, 98)
HSLhsl(332, 57%, 40%)
HSVhsv(332, 73%, 63%)
CMYKcmyk(0%, 72.7%, 39.1%, 36.9%)
CIE-LABlab(38.31, 52.00, -3.81)
CIE-LCHlch(38.31, 52.14, 355.80°)
OKLaboklab(48.92% 0.1595 -0.0094)
OKLCHoklch(48.92% 0.16 356.6)
XYZxyz(17.8044, 10.2624, 12.5962)
Luminance0.1026 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12C62 #2CA16B
analogous
#A12C9C #A12C62 #A1312C
triadic
#A12C62 #62A12C #2C62A1
tetradic
#A12C62 #9CA12C #2CA16B #312CA1
square
#A12C62 #9CA12C #2CA16B #312CA1
split-complementary
#A12C62 #2CA131 #2C9CA1
monochromatic
#411227 #711F45 #A12C62 #CB4080 #D870A0

Accessibility & contrast

On white

6.88
#A12C62 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#A12C62 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12C62
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12C62#FFFFFF#000000##FFFFFF
##A12C621.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434C63
Deuteranopia (green-blind)
#63625F
Tritanopia (blue-blind)
#AE1F43
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a12c62;
/* rgb */ color: rgb(161, 44, 98);
/* oklch */ color: oklch(48.9% 0.160 356.6);
Tailwind
colors: {
  custom: {
    50: '#c16f8e',
    500: '#a12c62',
    950: '#000000',
  },
}
SCSS
$custom: #a12c62;
$custom-light: #c16f8e;
$custom-dark: #000000;
JSON
{
  "hex": "#a12c62",
  "rgb": {
    "r": 161,
    "g": 44,
    "b": 98
  },
  "hsl": {
    "h": 332.308,
    "s": 57.073,
    "l": 40.196
  },
  "oklch": {
    "l": 0.48918,
    "c": 0.15977,
    "h": 356.6
  },
  "luminance": 0.1026
}

Semantic roles & 50–950 ramp

primary
#A12C62
secondary
#6ABF98
accent
#E09A47
background
#FCF7F8
surface
#F8EDF0
border
#D1C8CB
text
#13080C
muted
#827B7D

Preview Lab

Preview with #A12C62

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

Preview Lab → · Contrast checker → · Palette generator →

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