#A8257C#A8257C

#A8257C is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.5% C 0.186 H 345.2°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#A8257C
RGBrgb(168, 37, 124)
HSLhsl(320, 64%, 40%)
HSVhsv(320, 78%, 66%)
CMYKcmyk(0%, 78%, 26.2%, 34.1%)
CIE-LABlab(39.76, 59.27, -17.80)
CIE-LCHlch(39.76, 61.89, 343.28°)
OKLaboklab(50.54% 0.1798 -0.0474)
OKLCHoklch(50.54% 0.186 345.2)
XYZxyz(20.4490, 11.1055, 20.1315)
Luminance0.1110 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8257C #25A851
analogous
#9325A8 #A8257C #A8253A
triadic
#A8257C #7CA825 #257CA8
tetradic
#A8257C #A89325 #25A851 #253AA8
square
#A8257C #A89325 #25A851 #253AA8
split-complementary
#A8257C #3AA825 #25A893
monochromatic
#440F32 #761A57 #A8257C #D3379F #DE69B7

Accessibility & contrast

On white

6.52
#A8257C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#A8257C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A8257C
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8257C#FFFFFF#000000##FFFFFF
##A8257C1.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37507E
Deuteranopia (green-blind)
#5F6679
Tritanopia (blue-blind)
#B4224E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a8257c;
/* rgb */ color: rgb(168, 37, 124);
/* oklch */ color: oklch(50.5% 0.186 345.2);
Tailwind
colors: {
  custom: {
    50: '#c66ea2',
    500: '#a8257c',
    950: '#000000',
  },
}
SCSS
$custom: #a8257c;
$custom-light: #c66ea2;
$custom-dark: #000000;
JSON
{
  "hex": "#a8257c",
  "rgb": {
    "r": 168,
    "g": 37,
    "b": 124
  },
  "hsl": {
    "h": 320.153,
    "s": 63.902,
    "l": 40.196
  },
  "oklch": {
    "l": 0.50535,
    "c": 0.18594,
    "h": 345.2
  },
  "luminance": 0.11103
}

Semantic roles & 50–950 ramp

primary
#A8257C
secondary
#65C485
accent
#E77941
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14080F
muted
#827B7E

Preview Lab

Preview with #A8257C

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

Preview Lab → · Contrast checker → · Palette generator →

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