#A6307D#A6307D

#A6307D is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.2% C 0.173 H 344.9°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#A6307D
RGBrgb(166, 48, 125)
HSLhsl(321, 55%, 42%)
HSVhsv(321, 71%, 65%)
CMYKcmyk(0%, 71.1%, 24.7%, 34.9%)
CIE-LABlab(40.74, 55.21, -16.95)
CIE-LCHlch(40.74, 57.75, 342.94°)
OKLaboklab(51.2% 0.1668 -0.0451)
OKLCHoklch(51.2% 0.173 344.9)
XYZxyz(20.4853, 11.7037, 20.5783)
Luminance0.1170 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6307D #30A659
analogous
#9430A6 #A6307D #A63042
triadic
#A6307D #7DA630 #307DA6
tetradic
#A6307D #A69430 #30A659 #3042A6
square
#A6307D #A69430 #30A659 #3042A6
split-complementary
#A6307D #42A630 #30A694
monochromatic
#471536 #772259 #A6307D #CA499D #D878B7

Accessibility & contrast

On white

6.29
#A6307D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#A6307D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A6307D
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6307D#FFFFFF#000000##FFFFFF
##A6307D1.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D537F
Deuteranopia (green-blind)
#61677A
Tritanopia (blue-blind)
#B12F52
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a6307d;
/* rgb */ color: rgb(166, 48, 125);
/* oklch */ color: oklch(51.2% 0.173 344.9);
Tailwind
colors: {
  custom: {
    50: '#c472a2',
    500: '#a6307d',
    950: '#000000',
  },
}
SCSS
$custom: #a6307d;
$custom-light: #c472a2;
$custom-dark: #000000;
JSON
{
  "hex": "#a6307d",
  "rgb": {
    "r": 166,
    "g": 48,
    "b": 125
  },
  "hsl": {
    "h": 320.847,
    "s": 55.14,
    "l": 41.961
  },
  "oklch": {
    "l": 0.51198,
    "c": 0.17276,
    "h": 344.9
  },
  "luminance": 0.11702
}

Semantic roles & 50–950 ramp

primary
#A6307D
secondary
#71C08D
accent
#DE7D49
background
#FCF7FA
surface
#F8EDF3
border
#D1C8CD
text
#13090F
muted
#827B7F

Preview Lab

Preview with #A6307D

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

Preview Lab → · Contrast checker → · Palette generator →

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