#A6307E#A6307E

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

Color values

HEX#A6307E
RGBrgb(166, 48, 126)
HSLhsl(320, 55%, 42%)
HSVhsv(320, 71%, 65%)
CMYKcmyk(0%, 71.1%, 24.1%, 34.9%)
CIE-LABlab(40.78, 55.34, -17.50)
CIE-LCHlch(40.78, 58.04, 342.45°)
OKLaboklab(51.24% 0.167 -0.0466)
OKLCHoklch(51.24% 0.173 344.4)
XYZxyz(20.5495, 11.7294, 20.9164)
Luminance0.1173 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6307E #30A658
analogous
#9330A6 #A6307E #A63043
triadic
#A6307E #7EA630 #307EA6
tetradic
#A6307E #A69330 #30A658 #3043A6
square
#A6307E #A69330 #30A658 #3043A6
split-complementary
#A6307E #43A630 #30A693
monochromatic
#471536 #77225A #A6307E #CA499E #D878B8

Accessibility & contrast

On white

6.28
#A6307E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A6307E
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6307E#FFFFFF#000000##FFFFFF
##A6307E1.006.283.356.28
#FFFFFF6.281.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a6307e;
/* rgb */ color: rgb(166, 48, 126);
/* oklch */ color: oklch(51.2% 0.173 344.4);
Tailwind
colors: {
  custom: {
    50: '#c472a3',
    500: '#a6307e',
    950: '#000000',
  },
}
SCSS
$custom: #a6307e;
$custom-light: #c472a3;
$custom-dark: #000000;
JSON
{
  "hex": "#a6307e",
  "rgb": {
    "r": 166,
    "g": 48,
    "b": 126
  },
  "hsl": {
    "h": 320.339,
    "s": 55.14,
    "l": 41.961
  },
  "oklch": {
    "l": 0.51242,
    "c": 0.17338,
    "h": 344.4
  },
  "luminance": 0.11727
}

Semantic roles & 50–950 ramp

primary
#A6307E
secondary
#71C08C
accent
#DE7C49
background
#FCF7FA
surface
#F8EDF3
border
#D1C8CD
text
#13090F
muted
#827B7F

Preview Lab

Preview with #A6307E

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

Preview Lab → · Contrast checker → · Palette generator →

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