#A12847#A12847

#A12847 is a mid, vivid pink. Relative luminance 0.096; OKLCH L 47.7% C 0.157 H 10.7°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#A12847
RGBrgb(161, 40, 71)
HSLhsl(345, 60%, 39%)
HSVhsv(345, 75%, 63%)
CMYKcmyk(0%, 75.2%, 55.9%, 36.9%)
CIE-LABlab(37.03, 50.90, 11.57)
CIE-LCHlch(37.03, 52.20, 12.81°)
OKLaboklab(47.72% 0.1542 0.0292)
OKLCHoklch(47.72% 0.157 10.7)
XYZxyz(16.5956, 9.5519, 6.9298)
Luminance0.0955 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12847 #28A182
analogous
#A12884 #A12847 #A14628
triadic
#A12847 #47A128 #2847A1
tetradic
#A12847 #84A128 #28A182 #4628A1
square
#A12847 #84A128 #28A182 #4628A1
split-complementary
#A12847 #28A146 #2884A1
monochromatic
#3F101C #701C31 #A12847 #CE395F #DA6A86

Accessibility & contrast

On white

7.22
#A12847 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#A12847 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A12847
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12847#FFFFFF#000000##FFFFFF
##A128471.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474747
Deuteranopia (green-blind)
#676044
Tritanopia (blue-blind)
#B00435
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a12847;
/* rgb */ color: rgb(161, 40, 71);
/* oklch */ color: oklch(47.7% 0.157 10.7);
Tailwind
colors: {
  custom: {
    50: '#c36d79',
    500: '#a12847',
    950: '#000000',
  },
}
SCSS
$custom: #a12847;
$custom-light: #c36d79;
$custom-dark: #000000;
JSON
{
  "hex": "#a12847",
  "rgb": {
    "r": 161,
    "g": 40,
    "b": 71
  },
  "hsl": {
    "h": 344.628,
    "s": 60.199,
    "l": 39.412
  },
  "oklch": {
    "l": 0.47719,
    "c": 0.15697,
    "h": 10.7
  },
  "luminance": 0.0955
}

Semantic roles & 50–950 ramp

primary
#A12847
secondary
#65C0A9
accent
#E3BB44
background
#FCF6F7
surface
#F9ECED
border
#D2C7C8
text
#140809
muted
#827B7B

Preview Lab

Preview with #A12847

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

Preview Lab → · Contrast checker → · Palette generator →

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