#A8307C#A8307C

#A8307C is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.5% C 0.174 H 346.0°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#A8307C
RGBrgb(168, 48, 124)
HSLhsl(322, 56%, 42%)
HSVhsv(322, 71%, 66%)
CMYKcmyk(0%, 71.4%, 26.2%, 34.1%)
CIE-LABlab(41.05, 55.61, -15.82)
CIE-LCHlch(41.05, 57.82, 344.12°)
OKLaboklab(51.48% 0.1685 -0.0419)
OKLCHoklch(51.48% 0.174 346)
XYZxyz(20.8444, 11.8962, 20.2633)
Luminance0.1189 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8307C #30A85C
analogous
#9830A8 #A8307C #A83040
triadic
#A8307C #7CA830 #307CA8
tetradic
#A8307C #A89830 #30A85C #3040A8
square
#A8307C #A89830 #30A85C #3040A8
split-complementary
#A8307C #40A830 #30A898
monochromatic
#491536 #782259 #A8307C #CB4A9C #D97AB6

Accessibility & contrast

On white

6.22
#A8307C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#A8307C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A8307C
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8307C#FFFFFF#000000##FFFFFF
##A8307C1.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F547E
Deuteranopia (green-blind)
#626879
Tritanopia (blue-blind)
#B32D52
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a8307c;
/* rgb */ color: rgb(168, 48, 124);
/* oklch */ color: oklch(51.5% 0.174 346.0);
Tailwind
colors: {
  custom: {
    50: '#c673a2',
    500: '#a8307c',
    950: '#000000',
  },
}
SCSS
$custom: #a8307c;
$custom-light: #c673a2;
$custom-dark: #000000;
JSON
{
  "hex": "#a8307c",
  "rgb": {
    "r": 168,
    "g": 48,
    "b": 124
  },
  "hsl": {
    "h": 322,
    "s": 55.556,
    "l": 42.353
  },
  "oklch": {
    "l": 0.51476,
    "c": 0.17363,
    "h": 346
  },
  "luminance": 0.11894
}

Semantic roles & 50–950 ramp

primary
#A8307C
secondary
#73C18F
accent
#DF8049
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#13090F
muted
#827B7E

Preview Lab

Preview with #A8307C

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

Preview Lab → · Contrast checker → · Palette generator →

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