#A12856#A12856

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

Color values

HEX#A12856
RGBrgb(161, 40, 86)
HSLhsl(337, 60%, 39%)
HSVhsv(337, 75%, 63%)
CMYKcmyk(0%, 75.2%, 46.6%, 36.9%)
CIE-LABlab(37.42, 52.20, 2.53)
CIE-LCHlch(37.42, 52.26, 2.77°)
OKLaboklab(48.14% 0.16 0.0071)
OKLCHoklch(48.14% 0.16 2.5)
XYZxyz(17.1378, 9.7688, 9.7854)
Luminance0.0977 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12856 #28A173
analogous
#A12893 #A12856 #A13728
triadic
#A12856 #56A128 #2856A1
tetradic
#A12856 #93A128 #28A173 #3728A1
square
#A12856 #93A128 #28A173 #3728A1
split-complementary
#A12856 #28A137 #2893A1
monochromatic
#3F1022 #701C3C #A12856 #CE3971 #DA6A94

Accessibility & contrast

On white

7.11
#A12856 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#A12856 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A12856
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12856#FFFFFF#000000##FFFFFF
##A128561.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444957
Deuteranopia (green-blind)
#646153
Tritanopia (blue-blind)
#AF113C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a12856;
/* rgb */ color: rgb(161, 40, 86);
/* oklch */ color: oklch(48.1% 0.160 2.5);
Tailwind
colors: {
  custom: {
    50: '#c26d85',
    500: '#a12856',
    950: '#000000',
  },
}
SCSS
$custom: #a12856;
$custom-light: #c26d85;
$custom-dark: #000000;
JSON
{
  "hex": "#a12856",
  "rgb": {
    "r": 161,
    "g": 40,
    "b": 86
  },
  "hsl": {
    "h": 337.19,
    "s": 60.199,
    "l": 39.412
  },
  "oklch": {
    "l": 0.48143,
    "c": 0.16011,
    "h": 2.5
  },
  "luminance": 0.09767
}

Semantic roles & 50–950 ramp

primary
#A12856
secondary
#65C09D
accent
#E3A744
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13080B
muted
#827B7C

Preview Lab

Preview with #A12856

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

Preview Lab → · Contrast checker → · Palette generator →

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