#A8248C#A8248C

#A8248C is a mid, vivid pink. Relative luminance 0.115; OKLCH L 51.2% C 0.197 H 338.4°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#A8248C
RGBrgb(168, 36, 140)
HSLhsl(313, 65%, 40%)
HSVhsv(313, 79%, 66%)
CMYKcmyk(0%, 78.6%, 16.7%, 34.1%)
CIE-LABlab(40.38, 61.69, -26.69)
CIE-LCHlch(40.38, 67.22, 336.60°)
OKLaboklab(51.22% 0.1831 -0.0724)
OKLCHoklch(51.22% 0.197 338.4)
XYZxyz(21.5135, 11.4821, 25.8891)
Luminance0.1148 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8248C #24A840
analogous
#8224A8 #A8248C #A8244A
triadic
#A8248C #8CA824 #248CA8
tetradic
#A8248C #A88224 #24A840 #244AA8
square
#A8248C #A88224 #24A840 #244AA8
split-complementary
#A8248C #4AA824 #24A882
monochromatic
#430E38 #761962 #A8248C #D435B2 #DF68C5

Accessibility & contrast

On white

6.37
#A8248C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A8248C
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8248C#FFFFFF#000000##FFFFFF
##A8248C1.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B528F
Deuteranopia (green-blind)
#596689
Tritanopia (blue-blind)
#B22B56
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a8248c;
/* rgb */ color: rgb(168, 36, 140);
/* oklch */ color: oklch(51.2% 0.197 338.4);
Tailwind
colors: {
  custom: {
    50: '#c66eae',
    500: '#a8248c',
    950: '#000000',
  },
}
SCSS
$custom: #a8248c;
$custom-light: #c66eae;
$custom-dark: #000000;
JSON
{
  "hex": "#a8248c",
  "rgb": {
    "r": 168,
    "g": 36,
    "b": 140
  },
  "hsl": {
    "h": 312.727,
    "s": 64.706,
    "l": 40
  },
  "oklch": {
    "l": 0.51222,
    "c": 0.1969,
    "h": 338.4
  },
  "luminance": 0.1148
}

Semantic roles & 50–950 ramp

primary
#A8248C
secondary
#63C478
accent
#E86440
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A8248C

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

Preview Lab → · Contrast checker → · Palette generator →

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