#A8258C#A8258C

#A8258C is a mid, vivid pink. Relative luminance 0.115; OKLCH L 51.3% C 0.196 H 338.4°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#A8258C
RGBrgb(168, 37, 140)
HSLhsl(313, 64%, 40%)
HSVhsv(313, 78%, 66%)
CMYKcmyk(0%, 78%, 16.7%, 34.1%)
CIE-LABlab(40.48, 61.41, -26.54)
CIE-LCHlch(40.48, 66.90, 336.63°)
OKLaboklab(51.29% 0.1822 -0.072)
OKLCHoklch(51.29% 0.196 338.4)
XYZxyz(21.5442, 11.5435, 25.8994)
Luminance0.1154 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8258C #25A841
analogous
#8225A8 #A8258C #A8254B
triadic
#A8258C #8CA825 #258CA8
tetradic
#A8258C #A88225 #25A841 #254BA8
square
#A8258C #A88225 #25A841 #254BA8
split-complementary
#A8258C #4BA825 #25A882
monochromatic
#440F38 #761A62 #A8258C #D337B2 #DE69C5

Accessibility & contrast

On white

6.35
#A8258C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#A8258C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A8258C
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8258C#FFFFFF#000000##FFFFFF
##A8258C1.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C528F
Deuteranopia (green-blind)
#596789
Tritanopia (blue-blind)
#B22C57
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a8258c;
/* rgb */ color: rgb(168, 37, 140);
/* oklch */ color: oklch(51.3% 0.196 338.4);
Tailwind
colors: {
  custom: {
    50: '#c66fae',
    500: '#a8258c',
    950: '#000000',
  },
}
SCSS
$custom: #a8258c;
$custom-light: #c66fae;
$custom-dark: #000000;
JSON
{
  "hex": "#a8258c",
  "rgb": {
    "r": 168,
    "g": 37,
    "b": 140
  },
  "hsl": {
    "h": 312.824,
    "s": 63.902,
    "l": 40.196
  },
  "oklch": {
    "l": 0.51294,
    "c": 0.19593,
    "h": 338.4
  },
  "luminance": 0.11541
}

Semantic roles & 50–950 ramp

primary
#A8258C
secondary
#65C479
accent
#E76441
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A8258C

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

Preview Lab → · Contrast checker → · Palette generator →

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