#A12751#A12751

#A12751 is a mid, vivid pink. Relative luminance 0.096; OKLCH L 47.9% C 0.160 H 5.1°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#A12751
RGBrgb(161, 39, 81)
HSLhsl(339, 61%, 39%)
HSVhsv(339, 76%, 63%)
CMYKcmyk(0%, 75.8%, 49.7%, 36.9%)
CIE-LABlab(37.16, 52.08, 5.35)
CIE-LCHlch(37.16, 52.35, 5.86°)
OKLaboklab(47.9% 0.1592 0.0141)
OKLCHoklch(47.9% 0.16 5.1)
XYZxyz(16.9101, 9.6245, 8.7502)
Luminance0.0962 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12751 #27A177
analogous
#A1278E #A12751 #A13A27
triadic
#A12751 #51A127 #2751A1
tetradic
#A12751 #8EA127 #27A177 #3A27A1
square
#A12751 #8EA127 #27A177 #3A27A1
split-complementary
#A12751 #27A13A #278EA1
monochromatic
#3E0F1F #701B38 #A12751 #CE376B #DA688F

Accessibility & contrast

On white

7.18
#A12751 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#A12751 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A12751
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12751#FFFFFF#000000##FFFFFF
##A127511.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a12751;
/* rgb */ color: rgb(161, 39, 81);
/* oklch */ color: oklch(47.9% 0.160 5.1);
Tailwind
colors: {
  custom: {
    50: '#c26c81',
    500: '#a12751',
    950: '#000000',
  },
}
SCSS
$custom: #a12751;
$custom-light: #c26c81;
$custom-dark: #000000;
JSON
{
  "hex": "#a12751",
  "rgb": {
    "r": 161,
    "g": 39,
    "b": 81
  },
  "hsl": {
    "h": 339.344,
    "s": 61,
    "l": 39.216
  },
  "oklch": {
    "l": 0.47902,
    "c": 0.15984,
    "h": 5.1
  },
  "luminance": 0.09622
}

Semantic roles & 50–950 ramp

primary
#A12751
secondary
#63C0A0
accent
#E4AD44
background
#FCF6F7
surface
#F9ECEE
border
#D2C7C9
text
#13080A
muted
#827B7C

Preview Lab

Preview with #A12751

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

Preview Lab → · Contrast checker → · Palette generator →

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