#A12747#A12747

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

Color values

HEX#A12747
RGBrgb(161, 39, 71)
HSLhsl(344, 61%, 39%)
HSVhsv(344, 76%, 63%)
CMYKcmyk(0%, 75.8%, 55.9%, 36.9%)
CIE-LABlab(36.90, 51.25, 11.40)
CIE-LCHlch(36.90, 52.50, 12.54°)
OKLaboklab(47.63% 0.1553 0.0288)
OKLCHoklch(47.63% 0.158 10.5)
XYZxyz(16.5624, 9.4854, 6.9188)
Luminance0.0948 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12747 #27A181
analogous
#A12784 #A12747 #A14427
triadic
#A12747 #47A127 #2747A1
tetradic
#A12747 #84A127 #27A181 #4427A1
square
#A12747 #84A127 #27A181 #4427A1
split-complementary
#A12747 #27A144 #2784A1
monochromatic
#3E0F1C #701B31 #A12747 #CE375F #DA6886

Accessibility & contrast

On white

7.25
#A12747 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #A12747
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12747#FFFFFF#000000##FFFFFF
##A127471.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474748
Deuteranopia (green-blind)
#666044
Tritanopia (blue-blind)
#B00134
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a12747;
/* rgb */ color: rgb(161, 39, 71);
/* oklch */ color: oklch(47.6% 0.158 10.5);
Tailwind
colors: {
  custom: {
    50: '#c36c79',
    500: '#a12747',
    950: '#000000',
  },
}
SCSS
$custom: #a12747;
$custom-light: #c36c79;
$custom-dark: #000000;
JSON
{
  "hex": "#a12747",
  "rgb": {
    "r": 161,
    "g": 39,
    "b": 71
  },
  "hsl": {
    "h": 344.262,
    "s": 61,
    "l": 39.216
  },
  "oklch": {
    "l": 0.47628,
    "c": 0.15798,
    "h": 10.5
  },
  "luminance": 0.09483
}

Semantic roles & 50–950 ramp

primary
#A12747
secondary
#63C0A8
accent
#E4BA44
background
#FCF6F7
surface
#F9ECED
border
#D2C7C8
text
#140709
muted
#827A7B

Preview Lab

Preview with #A12747

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

Preview Lab → · Contrast checker → · Palette generator →

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