#A8248B#A8248B

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

Color values

HEX#A8248B
RGBrgb(168, 36, 139)
HSLhsl(313, 65%, 40%)
HSVhsv(313, 79%, 66%)
CMYKcmyk(0%, 78.6%, 17.3%, 34.1%)
CIE-LABlab(40.33, 61.55, -26.16)
CIE-LCHlch(40.33, 66.88, 336.98°)
OKLaboklab(51.17% 0.183 -0.0709)
OKLCHoklch(51.17% 0.196 338.8)
XYZxyz(21.4401, 11.4528, 25.5026)
Luminance0.1145 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8248B #24A841
analogous
#8324A8 #A8248B #A82449
triadic
#A8248B #8BA824 #248BA8
tetradic
#A8248B #A88324 #24A841 #2449A8
square
#A8248B #A88324 #24A841 #2449A8
split-complementary
#A8248B #49A824 #24A883
monochromatic
#430E38 #761961 #A8248B #D435B1 #DF68C4

Accessibility & contrast

On white

6.38
#A8248B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#A8248B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A8248B
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8248B#FFFFFF#000000##FFFFFF
##A8248B1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a8248b;
/* rgb */ color: rgb(168, 36, 139);
/* oklch */ color: oklch(51.2% 0.196 338.8);
Tailwind
colors: {
  custom: {
    50: '#c66ead',
    500: '#a8248b',
    950: '#000000',
  },
}
SCSS
$custom: #a8248b;
$custom-light: #c66ead;
$custom-dark: #000000;
JSON
{
  "hex": "#a8248b",
  "rgb": {
    "r": 168,
    "g": 36,
    "b": 139
  },
  "hsl": {
    "h": 313.182,
    "s": 64.706,
    "l": 40
  },
  "oklch": {
    "l": 0.51172,
    "c": 0.19624,
    "h": 338.8
  },
  "luminance": 0.11451
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A8248B

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

Preview Lab → · Contrast checker → · Palette generator →

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