#A8308D#A8308D

#A8308D is a mid, vivid pink. Relative luminance 0.124; OKLCH L 52.3% C 0.185 H 338.4°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#A8308D
RGBrgb(168, 48, 141)
HSLhsl(314, 56%, 42%)
HSVhsv(314, 71%, 66%)
CMYKcmyk(0%, 71.4%, 16.1%, 34.1%)
CIE-LABlab(41.79, 57.97, -25.11)
CIE-LCHlch(41.79, 63.17, 336.58°)
OKLaboklab(52.26% 0.1716 -0.068)
OKLCHoklch(52.26% 0.185 338.4)
XYZxyz(22.0136, 12.3639, 26.4212)
Luminance0.1236 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8308D #30A84B
analogous
#8730A8 #A8308D #A83051
triadic
#A8308D #8DA830 #308DA8
tetradic
#A8308D #A88730 #30A84B #3051A8
square
#A8308D #A88730 #30A84B #3051A8
split-complementary
#A8308D #51A830 #30A887
monochromatic
#49153D #782265 #A8308D #CB4AAE #D97AC3

Accessibility & contrast

On white

6.05
#A8308D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#A8308D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A8308D
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8308D#FFFFFF#000000##FFFFFF
##A8308D1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355790
Deuteranopia (green-blind)
#5D698A
Tritanopia (blue-blind)
#B1355A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a8308d;
/* rgb */ color: rgb(168, 48, 141);
/* oklch */ color: oklch(52.3% 0.185 338.4);
Tailwind
colors: {
  custom: {
    50: '#c573ae',
    500: '#a8308d',
    950: '#000000',
  },
}
SCSS
$custom: #a8308d;
$custom-light: #c573ae;
$custom-dark: #000000;
JSON
{
  "hex": "#a8308d",
  "rgb": {
    "r": 168,
    "g": 48,
    "b": 141
  },
  "hsl": {
    "h": 313.5,
    "s": 55.556,
    "l": 42.353
  },
  "oklch": {
    "l": 0.52255,
    "c": 0.18457,
    "h": 338.4
  },
  "luminance": 0.12362
}

Semantic roles & 50–950 ramp

primary
#A8308D
secondary
#73C184
accent
#DF6B49
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #A8308D

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

Preview Lab → · Contrast checker → · Palette generator →

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