#A8247B#A8247B

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

Color values

HEX#A8247B
RGBrgb(168, 36, 123)
HSLhsl(320, 65%, 40%)
HSVhsv(320, 79%, 66%)
CMYKcmyk(0%, 78.6%, 26.8%, 34.1%)
CIE-LABlab(39.61, 59.44, -17.41)
CIE-LCHlch(39.61, 61.93, 343.68°)
OKLaboklab(50.42% 0.1805 -0.0462)
OKLCHoklch(50.42% 0.186 345.6)
XYZxyz(20.3554, 11.0189, 19.7899)
Luminance0.1102 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8247B #24A851
analogous
#9324A8 #A8247B #A82439
triadic
#A8247B #7BA824 #247BA8
tetradic
#A8247B #A89324 #24A851 #2439A8
square
#A8247B #A89324 #24A851 #2439A8
split-complementary
#A8247B #39A824 #24A893
monochromatic
#430E31 #761956 #A8247B #D4359E #DF68B6

Accessibility & contrast

On white

6.56
#A8247B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A8247B
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8247B#FFFFFF#000000##FFFFFF
##A8247B1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374F7D
Deuteranopia (green-blind)
#5F6578
Tritanopia (blue-blind)
#B4214D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a8247b;
/* rgb */ color: rgb(168, 36, 123);
/* oklch */ color: oklch(50.4% 0.186 345.6);
Tailwind
colors: {
  custom: {
    50: '#c66ea1',
    500: '#a8247b',
    950: '#000000',
  },
}
SCSS
$custom: #a8247b;
$custom-light: #c66ea1;
$custom-dark: #000000;
JSON
{
  "hex": "#a8247b",
  "rgb": {
    "r": 168,
    "g": 36,
    "b": 123
  },
  "hsl": {
    "h": 320.455,
    "s": 64.706,
    "l": 40
  },
  "oklch": {
    "l": 0.50416,
    "c": 0.18636,
    "h": 345.6
  },
  "luminance": 0.11017
}

Semantic roles & 50–950 ramp

primary
#A8247B
secondary
#63C484
accent
#E87940
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14080F
muted
#827B7E

Preview Lab

Preview with #A8247B

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

Preview Lab → · Contrast checker → · Palette generator →

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