#A6307B#A6307B

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

Color values

HEX#A6307B
RGBrgb(166, 48, 123)
HSLhsl(322, 55%, 42%)
HSVhsv(322, 71%, 65%)
CMYKcmyk(0%, 71.1%, 25.9%, 34.9%)
CIE-LABlab(40.66, 54.94, -15.83)
CIE-LCHlch(40.66, 57.18, 343.92°)
OKLaboklab(51.11% 0.1664 -0.042)
OKLCHoklch(51.11% 0.172 345.8)
XYZxyz(20.3588, 11.6531, 19.9122)
Luminance0.1165 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6307B #30A65B
analogous
#9630A6 #A6307B #A63040
triadic
#A6307B #7BA630 #307BA6
tetradic
#A6307B #A69630 #30A65B #3040A6
square
#A6307B #A69630 #30A65B #3040A6
split-complementary
#A6307B #40A630 #30A696
monochromatic
#471535 #772258 #A6307B #CA499B #D878B5

Accessibility & contrast

On white

6.31
#A6307B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A6307B
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6307B#FFFFFF#000000##FFFFFF
##A6307B1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E537D
Deuteranopia (green-blind)
#616778
Tritanopia (blue-blind)
#B12E51
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a6307b;
/* rgb */ color: rgb(166, 48, 123);
/* oklch */ color: oklch(51.1% 0.172 345.8);
Tailwind
colors: {
  custom: {
    50: '#c472a1',
    500: '#a6307b',
    950: '#000000',
  },
}
SCSS
$custom: #a6307b;
$custom-light: #c472a1;
$custom-dark: #000000;
JSON
{
  "hex": "#a6307b",
  "rgb": {
    "r": 166,
    "g": 48,
    "b": 123
  },
  "hsl": {
    "h": 321.864,
    "s": 55.14,
    "l": 41.961
  },
  "oklch": {
    "l": 0.51111,
    "c": 0.17157,
    "h": 345.8
  },
  "luminance": 0.11651
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A6307B

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

Preview Lab → · Contrast checker → · Palette generator →

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