#A8257E#A8257E

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

Color values

HEX#A8257E
RGBrgb(168, 37, 126)
HSLhsl(319, 64%, 40%)
HSVhsv(319, 78%, 66%)
CMYKcmyk(0%, 78%, 25%, 34.1%)
CIE-LABlab(39.84, 59.52, -18.91)
CIE-LCHlch(39.84, 62.46, 342.37°)
OKLaboklab(50.63% 0.1802 -0.0505)
OKLCHoklch(50.63% 0.187 344.4)
XYZxyz(20.5768, 11.1566, 20.8044)
Luminance0.1115 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8257E #25A84F
analogous
#9125A8 #A8257E #A8253C
triadic
#A8257E #7EA825 #257EA8
tetradic
#A8257E #A89125 #25A84F #253CA8
square
#A8257E #A89125 #25A84F #253CA8
split-complementary
#A8257E #3CA825 #25A891
monochromatic
#440F33 #761A58 #A8257E #D337A1 #DE69B9

Accessibility & contrast

On white

6.50
#A8257E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A8257E
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8257E#FFFFFF#000000##FFFFFF
##A8257E1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365080
Deuteranopia (green-blind)
#5E667B
Tritanopia (blue-blind)
#B3244F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a8257e;
/* rgb */ color: rgb(168, 37, 126);
/* oklch */ color: oklch(50.6% 0.187 344.4);
Tailwind
colors: {
  custom: {
    50: '#c66ea3',
    500: '#a8257e',
    950: '#000000',
  },
}
SCSS
$custom: #a8257e;
$custom-light: #c66ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#a8257e",
  "rgb": {
    "r": 168,
    "g": 37,
    "b": 126
  },
  "hsl": {
    "h": 319.237,
    "s": 63.902,
    "l": 40.196
  },
  "oklch": {
    "l": 0.50625,
    "c": 0.18712,
    "h": 344.4
  },
  "luminance": 0.11154
}

Semantic roles & 50–950 ramp

primary
#A8257E
secondary
#65C483
accent
#E77641
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14080F
muted
#827B7F

Preview Lab

Preview with #A8257E

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

Preview Lab → · Contrast checker → · Palette generator →

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