#A6307C#A6307C

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

Color values

HEX#A6307C
RGBrgb(166, 48, 124)
HSLhsl(321, 55%, 42%)
HSVhsv(321, 71%, 65%)
CMYKcmyk(0%, 71.1%, 25.3%, 34.9%)
CIE-LABlab(40.70, 55.07, -16.39)
CIE-LCHlch(40.70, 57.46, 343.43°)
OKLaboklab(51.15% 0.1666 -0.0435)
OKLCHoklch(51.15% 0.172 345.4)
XYZxyz(20.4217, 11.6783, 20.2435)
Luminance0.1168 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6307C #30A65A
analogous
#9530A6 #A6307C #A63041
triadic
#A6307C #7CA630 #307CA6
tetradic
#A6307C #A69530 #30A65A #3041A6
square
#A6307C #A69530 #30A65A #3041A6
split-complementary
#A6307C #41A630 #30A695
monochromatic
#471535 #772259 #A6307C #CA499C #D878B6

Accessibility & contrast

On white

6.30
#A6307C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A6307C
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6307C#FFFFFF#000000##FFFFFF
##A6307C1.006.303.346.30
#FFFFFF6.301.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E537E
Deuteranopia (green-blind)
#616779
Tritanopia (blue-blind)
#B12E52
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a6307c;
/* rgb */ color: rgb(166, 48, 124);
/* oklch */ color: oklch(51.2% 0.172 345.4);
Tailwind
colors: {
  custom: {
    50: '#c472a2',
    500: '#a6307c',
    950: '#000000',
  },
}
SCSS
$custom: #a6307c;
$custom-light: #c472a2;
$custom-dark: #000000;
JSON
{
  "hex": "#a6307c",
  "rgb": {
    "r": 166,
    "g": 48,
    "b": 124
  },
  "hsl": {
    "h": 321.356,
    "s": 55.14,
    "l": 41.961
  },
  "oklch": {
    "l": 0.51154,
    "c": 0.17216,
    "h": 345.4
  },
  "luminance": 0.11676
}

Semantic roles & 50–950 ramp

primary
#A6307C
secondary
#71C08E
accent
#DE7E49
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13090F
muted
#827B7E

Preview Lab

Preview with #A6307C

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

Preview Lab → · Contrast checker → · Palette generator →

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