#A8308F#A8308F

#A8308F is a mid, vivid pink. Relative luminance 0.124; OKLCH L 52.4% C 0.186 H 337.5°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#A8308F
RGBrgb(168, 48, 143)
HSLhsl(313, 56%, 42%)
HSVhsv(313, 71%, 66%)
CMYKcmyk(0%, 71.4%, 14.9%, 34.1%)
CIE-LABlab(41.88, 58.26, -26.18)
CIE-LCHlch(41.88, 63.88, 335.80°)
OKLaboklab(52.35% 0.1718 -0.0711)
OKLCHoklch(52.35% 0.186 337.5)
XYZxyz(22.1637, 12.4239, 27.2121)
Luminance0.1242 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8308F #30A849
analogous
#8530A8 #A8308F #A83053
triadic
#A8308F #8FA830 #308FA8
tetradic
#A8308F #A88530 #30A849 #3053A8
square
#A8308F #A88530 #30A849 #3053A8
split-complementary
#A8308F #53A830 #30A885
monochromatic
#49153E #782266 #A8308F #CB4AB0 #D97AC5

Accessibility & contrast

On white

6.03
#A8308F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#A8308F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A8308F
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8308F#FFFFFF#000000##FFFFFF
##A8308F1.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345792
Deuteranopia (green-blind)
#5C698C
Tritanopia (blue-blind)
#B1365B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a8308f;
/* rgb */ color: rgb(168, 48, 143);
/* oklch */ color: oklch(52.4% 0.186 337.5);
Tailwind
colors: {
  custom: {
    50: '#c573b0',
    500: '#a8308f',
    950: '#000000',
  },
}
SCSS
$custom: #a8308f;
$custom-light: #c573b0;
$custom-dark: #000000;
JSON
{
  "hex": "#a8308f",
  "rgb": {
    "r": 168,
    "g": 48,
    "b": 143
  },
  "hsl": {
    "h": 312.5,
    "s": 55.556,
    "l": 42.353
  },
  "oklch": {
    "l": 0.52353,
    "c": 0.18596,
    "h": 337.5
  },
  "luminance": 0.12422
}

Semantic roles & 50–950 ramp

primary
#A8308F
secondary
#73C183
accent
#DF6849
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #A8308F

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

Preview Lab → · Contrast checker → · Palette generator →

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