#A8248E#A8248E

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

Color values

HEX#A8248E
RGBrgb(168, 36, 142)
HSLhsl(312, 65%, 40%)
HSVhsv(312, 79%, 66%)
CMYKcmyk(0%, 78.6%, 15.5%, 34.1%)
CIE-LABlab(40.48, 61.98, -27.76)
CIE-LCHlch(40.48, 67.91, 335.87°)
OKLaboklab(51.32% 0.1833 -0.0755)
OKLCHoklch(51.32% 0.198 337.6)
XYZxyz(21.6623, 11.5417, 26.6729)
Luminance0.1154 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8248E #24A83E
analogous
#8024A8 #A8248E #A8244C
triadic
#A8248E #8EA824 #248EA8
tetradic
#A8248E #A88024 #24A83E #244CA8
square
#A8248E #A88024 #24A83E #244CA8
split-complementary
#A8248E #4CA824 #24A880
monochromatic
#430E39 #761963 #A8248E #D435B5 #DF68C7

Accessibility & contrast

On white

6.35
#A8248E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A8248E
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8248E#FFFFFF#000000##FFFFFF
##A8248E1.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5391
Deuteranopia (green-blind)
#58678B
Tritanopia (blue-blind)
#B12C57
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a8248e;
/* rgb */ color: rgb(168, 36, 142);
/* oklch */ color: oklch(51.3% 0.198 337.6);
Tailwind
colors: {
  custom: {
    50: '#c66eaf',
    500: '#a8248e',
    950: '#000000',
  },
}
SCSS
$custom: #a8248e;
$custom-light: #c66eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#a8248e",
  "rgb": {
    "r": 168,
    "g": 36,
    "b": 142
  },
  "hsl": {
    "h": 311.818,
    "s": 64.706,
    "l": 40
  },
  "oklch": {
    "l": 0.51324,
    "c": 0.19823,
    "h": 337.6
  },
  "luminance": 0.1154
}

Semantic roles & 50–950 ramp

primary
#A8248E
secondary
#63C476
accent
#E86140
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A8248E

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

Preview Lab → · Contrast checker → · Palette generator →

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