#A12857#A12857

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

Color values

HEX#A12857
RGBrgb(161, 40, 87)
HSLhsl(337, 60%, 39%)
HSVhsv(337, 75%, 63%)
CMYKcmyk(0%, 75.2%, 46%, 36.9%)
CIE-LABlab(37.45, 52.29, 1.93)
CIE-LCHlch(37.45, 52.33, 2.11°)
OKLaboklab(48.18% 0.1603 0.0055)
OKLCHoklch(48.18% 0.16 2)
XYZxyz(17.1784, 9.7850, 9.9991)
Luminance0.0978 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12857 #28A172
analogous
#A12894 #A12857 #A13528
triadic
#A12857 #57A128 #2857A1
tetradic
#A12857 #94A128 #28A172 #3528A1
square
#A12857 #94A128 #28A172 #3528A1
split-complementary
#A12857 #28A135 #2894A1
monochromatic
#3F1022 #701C3D #A12857 #CE3972 #DA6A95

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A12857#FFFFFF#000000##FFFFFF
##A128571.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)
#444958
Deuteranopia (green-blind)
#646154
Tritanopia (blue-blind)
#AF123C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a12857;
/* rgb */ color: rgb(161, 40, 87);
/* oklch */ color: oklch(48.2% 0.160 2.0);
Tailwind
colors: {
  custom: {
    50: '#c26d86',
    500: '#a12857',
    950: '#000000',
  },
}
SCSS
$custom: #a12857;
$custom-light: #c26d86;
$custom-dark: #000000;
JSON
{
  "hex": "#a12857",
  "rgb": {
    "r": 161,
    "g": 40,
    "b": 87
  },
  "hsl": {
    "h": 336.694,
    "s": 60.199,
    "l": 39.412
  },
  "oklch": {
    "l": 0.48175,
    "c": 0.1604,
    "h": 2
  },
  "luminance": 0.09783
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A12857

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

Preview Lab → · Contrast checker → · Palette generator →

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