#A12754#A12754

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

Color values

HEX#A12754
RGBrgb(161, 39, 84)
HSLhsl(338, 61%, 39%)
HSVhsv(338, 76%, 63%)
CMYKcmyk(0%, 75.8%, 47.8%, 36.9%)
CIE-LABlab(37.24, 52.35, 3.55)
CIE-LCHlch(37.24, 52.47, 3.88°)
OKLaboklab(47.99% 0.1603 0.0096)
OKLCHoklch(47.99% 0.161 3.4)
XYZxyz(17.0251, 9.6705, 9.3559)
Luminance0.0967 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12754 #27A174
analogous
#A12791 #A12754 #A13727
triadic
#A12754 #54A127 #2754A1
tetradic
#A12754 #91A127 #27A174 #3727A1
square
#A12754 #91A127 #27A174 #3727A1
split-complementary
#A12754 #27A137 #2791A1
monochromatic
#3E0F21 #701B3A #A12754 #CE376F #DA6892

Accessibility & contrast

On white

7.16
#A12754 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#A12754 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A12754
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12754#FFFFFF#000000##FFFFFF
##A127541.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444855
Deuteranopia (green-blind)
#646051
Tritanopia (blue-blind)
#AF0D3A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a12754;
/* rgb */ color: rgb(161, 39, 84);
/* oklch */ color: oklch(48.0% 0.161 3.4);
Tailwind
colors: {
  custom: {
    50: '#c26c83',
    500: '#a12754',
    950: '#000000',
  },
}
SCSS
$custom: #a12754;
$custom-light: #c26c83;
$custom-dark: #000000;
JSON
{
  "hex": "#a12754",
  "rgb": {
    "r": 161,
    "g": 39,
    "b": 84
  },
  "hsl": {
    "h": 337.869,
    "s": 61,
    "l": 39.216
  },
  "oklch": {
    "l": 0.47992,
    "c": 0.16061,
    "h": 3.4
  },
  "luminance": 0.09668
}

Semantic roles & 50–950 ramp

primary
#A12754
secondary
#63C09E
accent
#E4A944
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13080A
muted
#827B7C

Preview Lab

Preview with #A12754

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

Preview Lab → · Contrast checker → · Palette generator →

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