#A8258E#A8258E

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

Color values

HEX#A8258E
RGBrgb(168, 37, 142)
HSLhsl(312, 64%, 40%)
HSVhsv(312, 78%, 66%)
CMYKcmyk(0%, 78%, 15.5%, 34.1%)
CIE-LABlab(40.58, 61.69, -27.61)
CIE-LCHlch(40.58, 67.58, 335.89°)
OKLaboklab(51.4% 0.1824 -0.0751)
OKLCHoklch(51.4% 0.197 337.6)
XYZxyz(21.6930, 11.6031, 26.6831)
Luminance0.1160 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8258E #25A83F
analogous
#8025A8 #A8258E #A8254D
triadic
#A8258E #8EA825 #258EA8
tetradic
#A8258E #A88025 #25A83F #254DA8
square
#A8258E #A88025 #25A83F #254DA8
split-complementary
#A8258E #4DA825 #25A880
monochromatic
#440F39 #761A64 #A8258E #D337B4 #DE69C7

Accessibility & contrast

On white

6.32
#A8258E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#A8258E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A8258E
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8258E#FFFFFF#000000##FFFFFF
##A8258E1.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5391
Deuteranopia (green-blind)
#58678B
Tritanopia (blue-blind)
#B12D58
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a8258e;
/* rgb */ color: rgb(168, 37, 142);
/* oklch */ color: oklch(51.4% 0.197 337.6);
Tailwind
colors: {
  custom: {
    50: '#c66faf',
    500: '#a8258e',
    950: '#000000',
  },
}
SCSS
$custom: #a8258e;
$custom-light: #c66faf;
$custom-dark: #000000;
JSON
{
  "hex": "#a8258e",
  "rgb": {
    "r": 168,
    "g": 37,
    "b": 142
  },
  "hsl": {
    "h": 311.908,
    "s": 63.902,
    "l": 40.196
  },
  "oklch": {
    "l": 0.51396,
    "c": 0.19727,
    "h": 337.6
  },
  "luminance": 0.11601
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A8258E

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

Preview Lab → · Contrast checker → · Palette generator →

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