#A8248D#A8248D

#A8248D is a mid, vivid pink. Relative luminance 0.115; OKLCH L 51.3% C 0.198 H 338.0°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#A8248D
RGBrgb(168, 36, 141)
HSLhsl(312, 65%, 40%)
HSVhsv(312, 79%, 66%)
CMYKcmyk(0%, 78.6%, 16.1%, 34.1%)
CIE-LABlab(40.43, 61.83, -27.23)
CIE-LCHlch(40.43, 67.56, 336.23°)
OKLaboklab(51.27% 0.1832 -0.074)
OKLCHoklch(51.27% 0.198 338)
XYZxyz(21.5875, 11.5118, 26.2792)
Luminance0.1151 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8248D #24A83F
analogous
#8124A8 #A8248D #A8244B
triadic
#A8248D #8DA824 #248DA8
tetradic
#A8248D #A88124 #24A83F #244BA8
square
#A8248D #A88124 #24A83F #244BA8
split-complementary
#A8248D #4BA824 #24A881
monochromatic
#430E38 #761963 #A8248D #D435B3 #DF68C6

Accessibility & contrast

On white

6.36
#A8248D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#A8248D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A8248D
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8248D#FFFFFF#000000##FFFFFF
##A8248D1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5290
Deuteranopia (green-blind)
#58668A
Tritanopia (blue-blind)
#B22C57
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a8248d;
/* rgb */ color: rgb(168, 36, 141);
/* oklch */ color: oklch(51.3% 0.198 338.0);
Tailwind
colors: {
  custom: {
    50: '#c66eae',
    500: '#a8248d',
    950: '#000000',
  },
}
SCSS
$custom: #a8248d;
$custom-light: #c66eae;
$custom-dark: #000000;
JSON
{
  "hex": "#a8248d",
  "rgb": {
    "r": 168,
    "g": 36,
    "b": 141
  },
  "hsl": {
    "h": 312.273,
    "s": 64.706,
    "l": 40
  },
  "oklch": {
    "l": 0.51273,
    "c": 0.19756,
    "h": 338
  },
  "luminance": 0.1151
}

Semantic roles & 50–950 ramp

primary
#A8248D
secondary
#63C477
accent
#E86240
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A8248D

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

Preview Lab → · Contrast checker → · Palette generator →

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