#A6307F#A6307F

#A6307F is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.3% C 0.174 H 343.9°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#A6307F
RGBrgb(166, 48, 127)
HSLhsl(320, 55%, 42%)
HSVhsv(320, 71%, 65%)
CMYKcmyk(0%, 71.1%, 23.5%, 34.9%)
CIE-LABlab(40.82, 55.48, -18.05)
CIE-LCHlch(40.82, 58.34, 341.98°)
OKLaboklab(51.29% 0.1672 -0.0482)
OKLCHoklch(51.29% 0.174 343.9)
XYZxyz(20.6144, 11.7553, 21.2579)
Luminance0.1175 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6307F #30A657
analogous
#9230A6 #A6307F #A63044
triadic
#A6307F #7FA630 #307FA6
tetradic
#A6307F #A69230 #30A657 #3044A6
square
#A6307F #A69230 #30A657 #3044A6
split-complementary
#A6307F #44A630 #30A692
monochromatic
#471536 #77225B #A6307F #CA49A0 #D878B8

Accessibility & contrast

On white

6.27
#A6307F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#A6307F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A6307F
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6307F#FFFFFF#000000##FFFFFF
##A6307F1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5481
Deuteranopia (green-blind)
#60677C
Tritanopia (blue-blind)
#B12F53
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a6307f;
/* rgb */ color: rgb(166, 48, 127);
/* oklch */ color: oklch(51.3% 0.174 343.9);
Tailwind
colors: {
  custom: {
    50: '#c472a4',
    500: '#a6307f',
    950: '#000000',
  },
}
SCSS
$custom: #a6307f;
$custom-light: #c472a4;
$custom-dark: #000000;
JSON
{
  "hex": "#a6307f",
  "rgb": {
    "r": 166,
    "g": 48,
    "b": 127
  },
  "hsl": {
    "h": 319.831,
    "s": 55.14,
    "l": 41.961
  },
  "oklch": {
    "l": 0.51286,
    "c": 0.174,
    "h": 343.9
  },
  "luminance": 0.11753
}

Semantic roles & 50–950 ramp

primary
#A6307F
secondary
#71C08C
accent
#DE7B49
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13090F
muted
#827B7F

Preview Lab

Preview with #A6307F

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

Preview Lab → · Contrast checker → · Palette generator →

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