#A8257A#A8257A

#A8257A is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.4% C 0.185 H 346.1°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#A8257A
RGBrgb(168, 37, 122)
HSLhsl(321, 64%, 40%)
HSVhsv(321, 78%, 66%)
CMYKcmyk(0%, 78%, 27.4%, 34.1%)
CIE-LABlab(39.67, 59.02, -16.69)
CIE-LCHlch(39.67, 61.33, 344.21°)
OKLaboklab(50.45% 0.1794 -0.0443)
OKLCHoklch(50.45% 0.185 346.1)
XYZxyz(20.3238, 11.0554, 19.4722)
Luminance0.1105 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8257A #25A853
analogous
#9525A8 #A8257A #A82538
triadic
#A8257A #7AA825 #257AA8
tetradic
#A8257A #A89525 #25A853 #2538A8
square
#A8257A #A89525 #25A853 #2538A8
split-complementary
#A8257A #38A825 #25A895
monochromatic
#440F31 #761A56 #A8257A #D3379C #DE69B5

Accessibility & contrast

On white

6.54
#A8257A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#A8257A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A8257A
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8257A#FFFFFF#000000##FFFFFF
##A8257A1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384F7C
Deuteranopia (green-blind)
#5F6577
Tritanopia (blue-blind)
#B4214D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a8257a;
/* rgb */ color: rgb(168, 37, 122);
/* oklch */ color: oklch(50.4% 0.185 346.1);
Tailwind
colors: {
  custom: {
    50: '#c66ea0',
    500: '#a8257a',
    950: '#000000',
  },
}
SCSS
$custom: #a8257a;
$custom-light: #c66ea0;
$custom-dark: #000000;
JSON
{
  "hex": "#a8257a",
  "rgb": {
    "r": 168,
    "g": 37,
    "b": 122
  },
  "hsl": {
    "h": 321.069,
    "s": 63.902,
    "l": 40.196
  },
  "oklch": {
    "l": 0.50447,
    "c": 0.1848,
    "h": 346.1
  },
  "luminance": 0.11053
}

Semantic roles & 50–950 ramp

primary
#A8257A
secondary
#65C486
accent
#E77B41
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14080E
muted
#827B7E

Preview Lab

Preview with #A8257A

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

Preview Lab → · Contrast checker → · Palette generator →

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