#A8258D#A8258D

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

Color values

HEX#A8258D
RGBrgb(168, 37, 141)
HSLhsl(312, 64%, 40%)
HSVhsv(312, 78%, 66%)
CMYKcmyk(0%, 78%, 16.1%, 34.1%)
CIE-LABlab(40.53, 61.55, -27.07)
CIE-LCHlch(40.53, 67.24, 336.26°)
OKLaboklab(51.35% 0.1823 -0.0735)
OKLCHoklch(51.35% 0.197 338)
XYZxyz(21.6182, 11.5732, 26.2895)
Luminance0.1157 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8258D #25A840
analogous
#8125A8 #A8258D #A8254C
triadic
#A8258D #8DA825 #258DA8
tetradic
#A8258D #A88125 #25A840 #254CA8
square
#A8258D #A88125 #25A840 #254CA8
split-complementary
#A8258D #4CA825 #25A881
monochromatic
#440F39 #761A63 #A8258D #D337B3 #DE69C6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A8258D#FFFFFF#000000##FFFFFF
##A8258D1.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)
#2B5390
Deuteranopia (green-blind)
#59678A
Tritanopia (blue-blind)
#B22D57
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a8258d;
/* rgb */ color: rgb(168, 37, 141);
/* oklch */ color: oklch(51.3% 0.197 338.0);
Tailwind
colors: {
  custom: {
    50: '#c66fae',
    500: '#a8258d',
    950: '#000000',
  },
}
SCSS
$custom: #a8258d;
$custom-light: #c66fae;
$custom-dark: #000000;
JSON
{
  "hex": "#a8258d",
  "rgb": {
    "r": 168,
    "g": 37,
    "b": 141
  },
  "hsl": {
    "h": 312.366,
    "s": 63.902,
    "l": 40.196
  },
  "oklch": {
    "l": 0.51345,
    "c": 0.1966,
    "h": 338
  },
  "luminance": 0.11571
}

Semantic roles & 50–950 ramp

primary
#A8258D
secondary
#65C478
accent
#E76341
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A8258D

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

Preview Lab → · Contrast checker → · Palette generator →

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