#A8258F#A8258F

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

Color values

HEX#A8258F
RGBrgb(168, 37, 143)
HSLhsl(311, 64%, 40%)
HSVhsv(311, 78%, 66%)
CMYKcmyk(0%, 78%, 14.9%, 34.1%)
CIE-LABlab(40.63, 61.83, -28.14)
CIE-LCHlch(40.63, 67.93, 335.53°)
OKLaboklab(51.45% 0.1825 -0.0766)
OKLCHoklch(51.45% 0.198 337.2)
XYZxyz(21.7684, 11.6332, 27.0803)
Luminance0.1163 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8258F #25A83E
analogous
#7F25A8 #A8258F #A8254E
triadic
#A8258F #8FA825 #258FA8
tetradic
#A8258F #A87F25 #25A83E #254EA8
square
#A8258F #A87F25 #25A83E #254EA8
split-complementary
#A8258F #4EA825 #25A87F
monochromatic
#440F3A #761A64 #A8258F #D337B5 #DE69C8

Accessibility & contrast

On white

6.31
#A8258F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#A8258F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A8258F
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8258F#FFFFFF#000000##FFFFFF
##A8258F1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5392
Deuteranopia (green-blind)
#58678C
Tritanopia (blue-blind)
#B12E58
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a8258f;
/* rgb */ color: rgb(168, 37, 143);
/* oklch */ color: oklch(51.4% 0.198 337.2);
Tailwind
colors: {
  custom: {
    50: '#c66fb0',
    500: '#a8258f',
    950: '#000000',
  },
}
SCSS
$custom: #a8258f;
$custom-light: #c66fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#a8258f",
  "rgb": {
    "r": 168,
    "g": 37,
    "b": 143
  },
  "hsl": {
    "h": 311.45,
    "s": 63.902,
    "l": 40.196
  },
  "oklch": {
    "l": 0.51447,
    "c": 0.19795,
    "h": 337.2
  },
  "luminance": 0.11631
}

Semantic roles & 50–950 ramp

primary
#A8258F
secondary
#65C477
accent
#E76141
background
#FCF7FA
surface
#F9EDF5
border
#D2C8CF
text
#130810
muted
#827B7F

Preview Lab

Preview with #A8258F

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

Preview Lab → · Contrast checker → · Palette generator →

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