#A12C56#A12C56

#A12C56 is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.5% C 0.156 H 3.3°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#A12C56
RGBrgb(161, 44, 86)
HSLhsl(338, 57%, 40%)
HSVhsv(338, 73%, 63%)
CMYKcmyk(0%, 72.7%, 46.6%, 36.9%)
CIE-LABlab(37.94, 50.76, 3.27)
CIE-LCHlch(37.94, 50.87, 3.68°)
OKLaboklab(48.52% 0.1554 0.0089)
OKLCHoklch(48.52% 0.156 3.3)
XYZxyz(17.2797, 10.0526, 9.8327)
Luminance0.1005 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12C56 #2CA177
analogous
#A12C90 #A12C56 #A13D2C
triadic
#A12C56 #56A12C #2C56A1
tetradic
#A12C56 #90A12C #2CA177 #3D2CA1
square
#A12C56 #90A12C #2CA177 #3D2CA1
split-complementary
#A12C56 #2CA13D #2C90A1
monochromatic
#411223 #711F3C #A12C56 #CB4071 #D87095

Accessibility & contrast

On white

6.98
#A12C56 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#A12C56 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12C56
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12C56#FFFFFF#000000##FFFFFF
##A12C561.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464B57
Deuteranopia (green-blind)
#656253
Tritanopia (blue-blind)
#AF183D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a12c56;
/* rgb */ color: rgb(161, 44, 86);
/* oklch */ color: oklch(48.5% 0.156 3.3);
Tailwind
colors: {
  custom: {
    50: '#c26f85',
    500: '#a12c56',
    950: '#000000',
  },
}
SCSS
$custom: #a12c56;
$custom-light: #c26f85;
$custom-dark: #000000;
JSON
{
  "hex": "#a12c56",
  "rgb": {
    "r": 161,
    "g": 44,
    "b": 86
  },
  "hsl": {
    "h": 338.462,
    "s": 57.073,
    "l": 40.196
  },
  "oklch": {
    "l": 0.48521,
    "c": 0.15562,
    "h": 3.3
  },
  "luminance": 0.1005
}

Semantic roles & 50–950 ramp

primary
#A12C56
secondary
#6ABFA0
accent
#E0A947
background
#FCF7F8
surface
#F8EDEF
border
#D1C8CA
text
#13080B
muted
#827B7C

Preview Lab

Preview with #A12C56

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

Preview Lab → · Contrast checker → · Palette generator →

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