#A12851#A12851

#A12851 is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.0% C 0.159 H 5.3°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#A12851
RGBrgb(161, 40, 81)
HSLhsl(340, 60%, 39%)
HSVhsv(340, 75%, 63%)
CMYKcmyk(0%, 75.2%, 49.7%, 36.9%)
CIE-LABlab(37.28, 51.74, 5.52)
CIE-LCHlch(37.28, 52.03, 6.09°)
OKLaboklab(47.99% 0.1581 0.0146)
OKLCHoklch(47.99% 0.159 5.3)
XYZxyz(16.9434, 9.6910, 8.7613)
Luminance0.0969 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12851 #28A178
analogous
#A1288E #A12851 #A13B28
triadic
#A12851 #51A128 #2851A1
tetradic
#A12851 #8EA128 #28A178 #3B28A1
square
#A12851 #8EA128 #28A178 #3B28A1
split-complementary
#A12851 #28A13B #288EA1
monochromatic
#3F1020 #701C38 #A12851 #CE396B #DA6A90

Accessibility & contrast

On white

7.15
#A12851 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#A12851 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A12851
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12851#FFFFFF#000000##FFFFFF
##A128511.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454852
Deuteranopia (green-blind)
#65604E
Tritanopia (blue-blind)
#AF0D39
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a12851;
/* rgb */ color: rgb(161, 40, 81);
/* oklch */ color: oklch(48.0% 0.159 5.3);
Tailwind
colors: {
  custom: {
    50: '#c26d81',
    500: '#a12851',
    950: '#000000',
  },
}
SCSS
$custom: #a12851;
$custom-light: #c26d81;
$custom-dark: #000000;
JSON
{
  "hex": "#a12851",
  "rgb": {
    "r": 161,
    "g": 40,
    "b": 81
  },
  "hsl": {
    "h": 339.669,
    "s": 60.199,
    "l": 39.412
  },
  "oklch": {
    "l": 0.47992,
    "c": 0.15878,
    "h": 5.3
  },
  "luminance": 0.09689
}

Semantic roles & 50–950 ramp

primary
#A12851
secondary
#65C0A1
accent
#E3AE44
background
#FCF6F7
surface
#F9ECEE
border
#D2C7C9
text
#13080A
muted
#827B7C

Preview Lab

Preview with #A12851

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

Preview Lab → · Contrast checker → · Palette generator →

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