#A8258B#A8258B

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

Color values

HEX#A8258B
RGBrgb(168, 37, 139)
HSLhsl(313, 64%, 40%)
HSVhsv(313, 78%, 66%)
CMYKcmyk(0%, 78%, 17.3%, 34.1%)
CIE-LABlab(40.43, 61.27, -26.00)
CIE-LCHlch(40.43, 66.56, 337.00°)
OKLaboklab(51.24% 0.1821 -0.0705)
OKLCHoklch(51.24% 0.195 338.8)
XYZxyz(21.4708, 11.5142, 25.5128)
Luminance0.1151 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8258B #25A842
analogous
#8325A8 #A8258B #A8254A
triadic
#A8258B #8BA825 #258BA8
tetradic
#A8258B #A88325 #25A842 #254AA8
square
#A8258B #A88325 #25A842 #254AA8
split-complementary
#A8258B #4AA825 #25A883
monochromatic
#440F38 #761A62 #A8258B #D337B1 #DE69C4

Accessibility & contrast

On white

6.36
#A8258B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A8258B
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8258B#FFFFFF#000000##FFFFFF
##A8258B1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a8258b;
/* rgb */ color: rgb(168, 37, 139);
/* oklch */ color: oklch(51.2% 0.195 338.8);
Tailwind
colors: {
  custom: {
    50: '#c66fad',
    500: '#a8258b',
    950: '#000000',
  },
}
SCSS
$custom: #a8258b;
$custom-light: #c66fad;
$custom-dark: #000000;
JSON
{
  "hex": "#a8258b",
  "rgb": {
    "r": 168,
    "g": 37,
    "b": 139
  },
  "hsl": {
    "h": 313.282,
    "s": 63.902,
    "l": 40.196
  },
  "oklch": {
    "l": 0.51244,
    "c": 0.19527,
    "h": 338.8
  },
  "luminance": 0.11512
}

Semantic roles & 50–950 ramp

primary
#A8258B
secondary
#65C47A
accent
#E76641
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A8258B

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

Preview Lab → · Contrast checker → · Palette generator →

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