#A8248F#A8248F

#A8248F is a mid, vivid pink. Relative luminance 0.116; OKLCH L 51.4% C 0.199 H 337.2°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#A8248F
RGBrgb(168, 36, 143)
HSLhsl(311, 65%, 40%)
HSVhsv(311, 79%, 66%)
CMYKcmyk(0%, 78.6%, 14.9%, 34.1%)
CIE-LABlab(40.53, 62.12, -28.30)
CIE-LCHlch(40.53, 68.26, 335.51°)
OKLaboklab(51.38% 0.1834 -0.077)
OKLCHoklch(51.38% 0.199 337.2)
XYZxyz(21.7377, 11.5718, 27.0700)
Luminance0.1157 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8248F #24A83D
analogous
#7F24A8 #A8248F #A8244D
triadic
#A8248F #8FA824 #248FA8
tetradic
#A8248F #A87F24 #24A83D #244DA8
square
#A8248F #A87F24 #24A83D #244DA8
split-complementary
#A8248F #4DA824 #24A87F
monochromatic
#430E39 #761964 #A8248F #D435B6 #DF68C8

Accessibility & contrast

On white

6.34
#A8248F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#A8248F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A8248F
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8248F#FFFFFF#000000##FFFFFF
##A8248F1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295392
Deuteranopia (green-blind)
#57678C
Tritanopia (blue-blind)
#B12D58
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a8248f;
/* rgb */ color: rgb(168, 36, 143);
/* oklch */ color: oklch(51.4% 0.199 337.2);
Tailwind
colors: {
  custom: {
    50: '#c66eb0',
    500: '#a8248f',
    950: '#000000',
  },
}
SCSS
$custom: #a8248f;
$custom-light: #c66eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#a8248f",
  "rgb": {
    "r": 168,
    "g": 36,
    "b": 143
  },
  "hsl": {
    "h": 311.364,
    "s": 64.706,
    "l": 40
  },
  "oklch": {
    "l": 0.51375,
    "c": 0.1989,
    "h": 337.2
  },
  "luminance": 0.1157
}

Semantic roles & 50–950 ramp

primary
#A8248F
secondary
#63C476
accent
#E86040
background
#FCF7FA
surface
#F9EDF5
border
#D2C8CF
text
#130810
muted
#827B7F

Preview Lab

Preview with #A8248F

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

Preview Lab → · Contrast checker → · Palette generator →

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