#A8257D#A8257D

#A8257D is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.6% C 0.187 H 344.8°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#A8257D
RGBrgb(168, 37, 125)
HSLhsl(320, 64%, 40%)
HSVhsv(320, 78%, 66%)
CMYKcmyk(0%, 78%, 25.6%, 34.1%)
CIE-LABlab(39.80, 59.40, -18.36)
CIE-LCHlch(39.80, 62.17, 342.82°)
OKLaboklab(50.58% 0.18 -0.0489)
OKLCHoklch(50.58% 0.187 344.8)
XYZxyz(20.5126, 11.1309, 20.4663)
Luminance0.1113 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8257D #25A850
analogous
#9225A8 #A8257D #A8253B
triadic
#A8257D #7DA825 #257DA8
tetradic
#A8257D #A89225 #25A850 #253BA8
square
#A8257D #A89225 #25A850 #253BA8
split-complementary
#A8257D #3BA825 #25A892
monochromatic
#440F32 #761A58 #A8257D #D337A0 #DE69B8

Accessibility & contrast

On white

6.51
#A8257D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#A8257D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A8257D
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8257D#FFFFFF#000000##FFFFFF
##A8257D1.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36507F
Deuteranopia (green-blind)
#5E667A
Tritanopia (blue-blind)
#B3234E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a8257d;
/* rgb */ color: rgb(168, 37, 125);
/* oklch */ color: oklch(50.6% 0.187 344.8);
Tailwind
colors: {
  custom: {
    50: '#c66ea2',
    500: '#a8257d',
    950: '#000000',
  },
}
SCSS
$custom: #a8257d;
$custom-light: #c66ea2;
$custom-dark: #000000;
JSON
{
  "hex": "#a8257d",
  "rgb": {
    "r": 168,
    "g": 37,
    "b": 125
  },
  "hsl": {
    "h": 319.695,
    "s": 63.902,
    "l": 40.196
  },
  "oklch": {
    "l": 0.5058,
    "c": 0.18653,
    "h": 344.8
  },
  "luminance": 0.11129
}

Semantic roles & 50–950 ramp

primary
#A8257D
secondary
#65C484
accent
#E77741
background
#FCF7FA
surface
#F9EDF3
border
#D2C8CD
text
#14080F
muted
#827B7F

Preview Lab

Preview with #A8257D

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

Preview Lab → · Contrast checker → · Palette generator →

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