#A8258A#A8258A

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

Color values

HEX#A8258A
RGBrgb(168, 37, 138)
HSLhsl(314, 64%, 40%)
HSVhsv(314, 78%, 66%)
CMYKcmyk(0%, 78%, 17.9%, 34.1%)
CIE-LABlab(40.39, 61.13, -25.46)
CIE-LCHlch(40.39, 66.22, 337.39°)
OKLaboklab(51.19% 0.182 -0.0689)
OKLCHoklch(51.19% 0.195 339.3)
XYZxyz(21.3980, 11.4851, 25.1297)
Luminance0.1148 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8258A #25A843
analogous
#8425A8 #A8258A #A82549
triadic
#A8258A #8AA825 #258AA8
tetradic
#A8258A #A88425 #25A843 #2549A8
square
#A8258A #A88425 #25A843 #2549A8
split-complementary
#A8258A #49A825 #25A884
monochromatic
#440F38 #761A61 #A8258A #D337AF #DE69C3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A8258A#FFFFFF#000000##FFFFFF
##A8258A1.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)
#2E528D
Deuteranopia (green-blind)
#5A6687
Tritanopia (blue-blind)
#B22B55
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a8258a;
/* rgb */ color: rgb(168, 37, 138);
/* oklch */ color: oklch(51.2% 0.195 339.3);
Tailwind
colors: {
  custom: {
    50: '#c66fac',
    500: '#a8258a',
    950: '#000000',
  },
}
SCSS
$custom: #a8258a;
$custom-light: #c66fac;
$custom-dark: #000000;
JSON
{
  "hex": "#a8258a",
  "rgb": {
    "r": 168,
    "g": 37,
    "b": 138
  },
  "hsl": {
    "h": 313.74,
    "s": 63.902,
    "l": 40.196
  },
  "oklch": {
    "l": 0.51194,
    "c": 0.19462,
    "h": 339.3
  },
  "luminance": 0.11483
}

Semantic roles & 50–950 ramp

primary
#A8258A
secondary
#65C47B
accent
#E76741
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A8258A

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

Preview Lab → · Contrast checker → · Palette generator →

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