#A8248A#A8248A

#A8248A is a mid, vivid pink. Relative luminance 0.114; OKLCH L 51.1% C 0.196 H 339.2°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#A8248A
RGBrgb(168, 36, 138)
HSLhsl(314, 65%, 40%)
HSVhsv(314, 79%, 66%)
CMYKcmyk(0%, 78.6%, 17.9%, 34.1%)
CIE-LABlab(40.29, 61.42, -25.62)
CIE-LCHlch(40.29, 66.54, 337.36°)
OKLaboklab(51.12% 0.1829 -0.0694)
OKLCHoklch(51.12% 0.196 339.2)
XYZxyz(21.3673, 11.4237, 25.1195)
Luminance0.1142 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8248A #24A842
analogous
#8424A8 #A8248A #A82448
triadic
#A8248A #8AA824 #248AA8
tetradic
#A8248A #A88424 #24A842 #2448A8
square
#A8248A #A88424 #24A842 #2448A8
split-complementary
#A8248A #48A824 #24A884
monochromatic
#430E37 #761961 #A8248A #D435B0 #DF68C4

Accessibility & contrast

On white

6.39
#A8248A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#A8248A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A8248A
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8248A#FFFFFF#000000##FFFFFF
##A8248A1.006.393.286.39
#FFFFFF6.391.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D528D
Deuteranopia (green-blind)
#5A6687
Tritanopia (blue-blind)
#B22A55
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a8248a;
/* rgb */ color: rgb(168, 36, 138);
/* oklch */ color: oklch(51.1% 0.196 339.2);
Tailwind
colors: {
  custom: {
    50: '#c66eac',
    500: '#a8248a',
    950: '#000000',
  },
}
SCSS
$custom: #a8248a;
$custom-light: #c66eac;
$custom-dark: #000000;
JSON
{
  "hex": "#a8248a",
  "rgb": {
    "r": 168,
    "g": 36,
    "b": 138
  },
  "hsl": {
    "h": 313.636,
    "s": 64.706,
    "l": 40
  },
  "oklch": {
    "l": 0.51122,
    "c": 0.19559,
    "h": 339.2
  },
  "luminance": 0.11422
}

Semantic roles & 50–950 ramp

primary
#A8248A
secondary
#63C479
accent
#E86640
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A8248A

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

Preview Lab → · Contrast checker → · Palette generator →

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