#A8247A#A8247A

#A8247A is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.4% C 0.186 H 346.1°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#A8247A
RGBrgb(168, 36, 122)
HSLhsl(321, 65%, 40%)
HSVhsv(321, 79%, 66%)
CMYKcmyk(0%, 78.6%, 27.4%, 34.1%)
CIE-LABlab(39.57, 59.31, -16.85)
CIE-LCHlch(39.57, 61.66, 344.14°)
OKLaboklab(50.37% 0.1803 -0.0447)
OKLCHoklch(50.37% 0.186 346.1)
XYZxyz(20.2931, 10.9940, 19.4620)
Luminance0.1099 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8247A #24A852
analogous
#9424A8 #A8247A #A82438
triadic
#A8247A #7AA824 #247AA8
tetradic
#A8247A #A89424 #24A852 #2438A8
square
#A8247A #A89424 #24A852 #2438A8
split-complementary
#A8247A #38A824 #24A894
monochromatic
#430E31 #761955 #A8247A #D4359D #DF68B5

Accessibility & contrast

On white

6.57
#A8247A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#A8247A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A8247A
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8247A#FFFFFF#000000##FFFFFF
##A8247A1.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374F7C
Deuteranopia (green-blind)
#5F6577
Tritanopia (blue-blind)
#B4204C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a8247a;
/* rgb */ color: rgb(168, 36, 122);
/* oklch */ color: oklch(50.4% 0.186 346.1);
Tailwind
colors: {
  custom: {
    50: '#c66ea0',
    500: '#a8247a',
    950: '#000000',
  },
}
SCSS
$custom: #a8247a;
$custom-light: #c66ea0;
$custom-dark: #000000;
JSON
{
  "hex": "#a8247a",
  "rgb": {
    "r": 168,
    "g": 36,
    "b": 122
  },
  "hsl": {
    "h": 320.909,
    "s": 64.706,
    "l": 40
  },
  "oklch": {
    "l": 0.50372,
    "c": 0.18579,
    "h": 346.1
  },
  "luminance": 0.10992
}

Semantic roles & 50–950 ramp

primary
#A8247A
secondary
#63C485
accent
#E87B40
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14080E
muted
#827B7E

Preview Lab

Preview with #A8247A

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

Preview Lab → · Contrast checker → · Palette generator →

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