#A8257F#A8257F

#A8257F is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.7% C 0.188 H 343.9°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#A8257F
RGBrgb(168, 37, 127)
HSLhsl(319, 64%, 40%)
HSVhsv(319, 78%, 66%)
CMYKcmyk(0%, 78%, 24.4%, 34.1%)
CIE-LABlab(39.89, 59.65, -19.46)
CIE-LCHlch(39.89, 62.75, 341.93°)
OKLaboklab(50.67% 0.1804 -0.052)
OKLCHoklch(50.67% 0.188 343.9)
XYZxyz(20.6416, 11.1825, 21.1459)
Luminance0.1118 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8257F #25A84E
analogous
#9025A8 #A8257F #A8253D
triadic
#A8257F #7FA825 #257FA8
tetradic
#A8257F #A89025 #25A84E #253DA8
square
#A8257F #A89025 #25A84E #253DA8
split-complementary
#A8257F #3DA825 #25A890
monochromatic
#440F33 #761A59 #A8257F #D337A2 #DE69BA

Accessibility & contrast

On white

6.49
#A8257F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#A8257F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A8257F
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8257F#FFFFFF#000000##FFFFFF
##A8257F1.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a8257f;
/* rgb */ color: rgb(168, 37, 127);
/* oklch */ color: oklch(50.7% 0.188 343.9);
Tailwind
colors: {
  custom: {
    50: '#c66ea4',
    500: '#a8257f',
    950: '#000000',
  },
}
SCSS
$custom: #a8257f;
$custom-light: #c66ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#a8257f",
  "rgb": {
    "r": 168,
    "g": 37,
    "b": 127
  },
  "hsl": {
    "h": 318.779,
    "s": 63.902,
    "l": 40.196
  },
  "oklch": {
    "l": 0.50671,
    "c": 0.18772,
    "h": 343.9
  },
  "luminance": 0.1118
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A8257F

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

Preview Lab → · Contrast checker → · Palette generator →

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