#A6307A#A6307A

#A6307A is a mid, vivid pink. Relative luminance 0.116; OKLCH L 51.1% C 0.171 H 346.3°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#A6307A
RGBrgb(166, 48, 122)
HSLhsl(322, 55%, 42%)
HSVhsv(322, 71%, 65%)
CMYKcmyk(0%, 71.1%, 26.5%, 34.9%)
CIE-LABlab(40.62, 54.81, -15.28)
CIE-LCHlch(40.62, 56.90, 344.43°)
OKLaboklab(51.07% 0.1661 -0.0404)
OKLCHoklch(51.07% 0.171 346.3)
XYZxyz(20.2966, 11.6282, 19.5842)
Luminance0.1163 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6307A #30A65C
analogous
#9730A6 #A6307A #A6303F
triadic
#A6307A #7AA630 #307AA6
tetradic
#A6307A #A69730 #30A65C #303FA6
square
#A6307A #A69730 #30A65C #303FA6
split-complementary
#A6307A #3FA630 #30A697
monochromatic
#471534 #772257 #A6307A #CA499A #D878B4

Accessibility & contrast

On white

6.32
#A6307A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#A6307A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A6307A
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6307A#FFFFFF#000000##FFFFFF
##A6307A1.006.323.336.32
#FFFFFF6.321.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F537C
Deuteranopia (green-blind)
#626777
Tritanopia (blue-blind)
#B12D51
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a6307a;
/* rgb */ color: rgb(166, 48, 122);
/* oklch */ color: oklch(51.1% 0.171 346.3);
Tailwind
colors: {
  custom: {
    50: '#c472a0',
    500: '#a6307a',
    950: '#000000',
  },
}
SCSS
$custom: #a6307a;
$custom-light: #c472a0;
$custom-dark: #000000;
JSON
{
  "hex": "#a6307a",
  "rgb": {
    "r": 166,
    "g": 48,
    "b": 122
  },
  "hsl": {
    "h": 322.373,
    "s": 55.14,
    "l": 41.961
  },
  "oklch": {
    "l": 0.51068,
    "c": 0.17097,
    "h": 346.3
  },
  "luminance": 0.11626
}

Semantic roles & 50–950 ramp

primary
#A6307A
secondary
#71C08F
accent
#DE8149
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13090E
muted
#827B7E

Preview Lab

Preview with #A6307A

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

Preview Lab → · Contrast checker → · Palette generator →

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