#A6308D#A6308D

#A6308D is a mid, vivid pink. Relative luminance 0.121; OKLCH L 51.9% C 0.183 H 337.7°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#A6308D
RGBrgb(166, 48, 141)
HSLhsl(313, 55%, 42%)
HSVhsv(313, 71%, 65%)
CMYKcmyk(0%, 71.1%, 15.1%, 34.9%)
CIE-LABlab(41.45, 57.46, -25.67)
CIE-LCHlch(41.45, 62.94, 335.93°)
OKLaboklab(51.94% 0.1696 -0.0696)
OKLCHoklch(51.94% 0.183 337.7)
XYZxyz(21.5910, 12.1460, 26.4014)
Luminance0.1214 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6308D #30A649
analogous
#8430A6 #A6308D #A63052
triadic
#A6308D #8DA630 #308DA6
tetradic
#A6308D #A68430 #30A649 #3052A6
square
#A6308D #A68430 #30A649 #3052A6
split-complementary
#A6308D #52A630 #30A684
monochromatic
#47153C #772265 #A6308D #CA49AF #D878C4

Accessibility & contrast

On white

6.12
#A6308D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#A6308D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A6308D
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6308D#FFFFFF#000000##FFFFFF
##A6308D1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345690
Deuteranopia (green-blind)
#5B688A
Tritanopia (blue-blind)
#AF365A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a6308d;
/* rgb */ color: rgb(166, 48, 141);
/* oklch */ color: oklch(51.9% 0.183 337.7);
Tailwind
colors: {
  custom: {
    50: '#c473ae',
    500: '#a6308d',
    950: '#000000',
  },
}
SCSS
$custom: #a6308d;
$custom-light: #c473ae;
$custom-dark: #000000;
JSON
{
  "hex": "#a6308d",
  "rgb": {
    "r": 166,
    "g": 48,
    "b": 141
  },
  "hsl": {
    "h": 312.712,
    "s": 55.14,
    "l": 41.961
  },
  "oklch": {
    "l": 0.51942,
    "c": 0.18331,
    "h": 337.7
  },
  "luminance": 0.12144
}

Semantic roles & 50–950 ramp

primary
#A6308D
secondary
#71C082
accent
#DE6949
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #A6308D

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

Preview Lab → · Contrast checker → · Palette generator →

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