#A12748#A12748

#A12748 is a mid, vivid pink. Relative luminance 0.095; OKLCH L 47.7% C 0.158 H 10.0°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#A12748
RGBrgb(161, 39, 72)
HSLhsl(344, 61%, 39%)
HSVhsv(344, 76%, 63%)
CMYKcmyk(0%, 75.8%, 55.3%, 36.9%)
CIE-LABlab(36.93, 51.32, 10.79)
CIE-LCHlch(36.93, 52.45, 11.88°)
OKLaboklab(47.65% 0.1557 0.0273)
OKLCHoklch(47.65% 0.158 10)
XYZxyz(16.5947, 9.4983, 7.0892)
Luminance0.0950 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12748 #27A180
analogous
#A12785 #A12748 #A14327
triadic
#A12748 #48A127 #2748A1
tetradic
#A12748 #85A127 #27A180 #4327A1
square
#A12748 #85A127 #27A180 #4327A1
split-complementary
#A12748 #27A143 #2785A1
monochromatic
#3E0F1C #701B32 #A12748 #CE3760 #DA6887

Accessibility & contrast

On white

7.24
#A12748 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#A12748 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A12748
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12748#FFFFFF#000000##FFFFFF
##A127481.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474749
Deuteranopia (green-blind)
#666045
Tritanopia (blue-blind)
#B00235
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a12748;
/* rgb */ color: rgb(161, 39, 72);
/* oklch */ color: oklch(47.7% 0.158 10.0);
Tailwind
colors: {
  custom: {
    50: '#c36c7a',
    500: '#a12748',
    950: '#000000',
  },
}
SCSS
$custom: #a12748;
$custom-light: #c36c7a;
$custom-dark: #000000;
JSON
{
  "hex": "#a12748",
  "rgb": {
    "r": 161,
    "g": 39,
    "b": 72
  },
  "hsl": {
    "h": 343.77,
    "s": 61,
    "l": 39.216
  },
  "oklch": {
    "l": 0.47654,
    "c": 0.15811,
    "h": 10
  },
  "luminance": 0.09496
}

Semantic roles & 50–950 ramp

primary
#A12748
secondary
#63C0A7
accent
#E4B944
background
#FCF6F7
surface
#F9ECED
border
#D2C7C8
text
#140709
muted
#827A7B

Preview Lab

Preview with #A12748

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

Preview Lab → · Contrast checker → · Palette generator →

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