#A7308D#A7308D

#A7308D is a mid, vivid pink. Relative luminance 0.123; OKLCH L 52.1% C 0.184 H 338.0°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#A7308D
RGBrgb(167, 48, 141)
HSLhsl(313, 55%, 42%)
HSVhsv(313, 71%, 65%)
CMYKcmyk(0%, 71.3%, 15.6%, 34.5%)
CIE-LABlab(41.62, 57.72, -25.39)
CIE-LCHlch(41.62, 63.05, 336.26°)
OKLaboklab(52.1% 0.1706 -0.0688)
OKLCHoklch(52.1% 0.184 338)
XYZxyz(21.8015, 12.2545, 26.4113)
Luminance0.1225 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7308D #30A74A
analogous
#8630A7 #A7308D #A73052
triadic
#A7308D #8DA730 #308DA7
tetradic
#A7308D #A78630 #30A74A #3052A7
square
#A7308D #A78630 #30A74A #3052A7
split-complementary
#A7308D #52A730 #30A786
monochromatic
#48153D #772265 #A7308D #CB49AF #D879C4

Accessibility & contrast

On white

6.09
#A7308D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#A7308D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A7308D
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7308D#FFFFFF#000000##FFFFFF
##A7308D1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355690
Deuteranopia (green-blind)
#5C698A
Tritanopia (blue-blind)
#B0365A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a7308d;
/* rgb */ color: rgb(167, 48, 141);
/* oklch */ color: oklch(52.1% 0.184 338.0);
Tailwind
colors: {
  custom: {
    50: '#c573ae',
    500: '#a7308d',
    950: '#000000',
  },
}
SCSS
$custom: #a7308d;
$custom-light: #c573ae;
$custom-dark: #000000;
JSON
{
  "hex": "#a7308d",
  "rgb": {
    "r": 167,
    "g": 48,
    "b": 141
  },
  "hsl": {
    "h": 313.109,
    "s": 55.349,
    "l": 42.157
  },
  "oklch": {
    "l": 0.52098,
    "c": 0.18394,
    "h": 338
  },
  "luminance": 0.12252
}

Semantic roles & 50–950 ramp

primary
#A7308D
secondary
#72C183
accent
#DF6A49
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #A7308D

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

Preview Lab → · Contrast checker → · Palette generator →

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