#A8247E#A8247E

#A8247E is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.6% C 0.188 H 344.3°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#A8247E
RGBrgb(168, 36, 126)
HSLhsl(319, 65%, 40%)
HSVhsv(319, 79%, 66%)
CMYKcmyk(0%, 78.6%, 25%, 34.1%)
CIE-LABlab(39.74, 59.82, -19.07)
CIE-LCHlch(39.74, 62.78, 342.32°)
OKLaboklab(50.55% 0.1811 -0.0509)
OKLCHoklch(50.55% 0.188 344.3)
XYZxyz(20.5461, 11.0952, 20.7942)
Luminance0.1109 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8247E #24A84E
analogous
#9024A8 #A8247E #A8243C
triadic
#A8247E #7EA824 #247EA8
tetradic
#A8247E #A89024 #24A84E #243CA8
square
#A8247E #A89024 #24A84E #243CA8
split-complementary
#A8247E #3CA824 #24A890
monochromatic
#430E32 #761958 #A8247E #D435A1 #DF68B9

Accessibility & contrast

On white

6.52
#A8247E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#A8247E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A8247E
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8247E#FFFFFF#000000##FFFFFF
##A8247E1.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355080
Deuteranopia (green-blind)
#5E657B
Tritanopia (blue-blind)
#B3234F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a8247e;
/* rgb */ color: rgb(168, 36, 126);
/* oklch */ color: oklch(50.6% 0.188 344.3);
Tailwind
colors: {
  custom: {
    50: '#c66ea3',
    500: '#a8247e',
    950: '#000000',
  },
}
SCSS
$custom: #a8247e;
$custom-light: #c66ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#a8247e",
  "rgb": {
    "r": 168,
    "g": 36,
    "b": 126
  },
  "hsl": {
    "h": 319.091,
    "s": 64.706,
    "l": 40
  },
  "oklch": {
    "l": 0.50551,
    "c": 0.1881,
    "h": 344.3
  },
  "luminance": 0.11093
}

Semantic roles & 50–950 ramp

primary
#A8247E
secondary
#63C482
accent
#E87540
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14080F
muted
#827B7F

Preview Lab

Preview with #A8247E

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

Preview Lab → · Contrast checker → · Palette generator →

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