#A6308F#A6308F

#A6308F is a mid, vivid pink. Relative luminance 0.122; OKLCH L 52.0% C 0.185 H 336.8°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#A6308F
RGBrgb(166, 48, 143)
HSLhsl(312, 55%, 42%)
HSVhsv(312, 71%, 65%)
CMYKcmyk(0%, 71.1%, 13.9%, 34.9%)
CIE-LABlab(41.54, 57.76, -26.74)
CIE-LCHlch(41.54, 63.65, 335.16°)
OKLaboklab(52.04% 0.1698 -0.0727)
OKLCHoklch(52.04% 0.185 336.8)
XYZxyz(21.7411, 12.2060, 27.1922)
Luminance0.1220 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6308F #30A647
analogous
#8230A6 #A6308F #A63054
triadic
#A6308F #8FA630 #308FA6
tetradic
#A6308F #A68230 #30A647 #3054A6
square
#A6308F #A68230 #30A647 #3054A6
split-complementary
#A6308F #54A630 #30A682
monochromatic
#47153D #772266 #A6308F #CA49B1 #D878C5

Accessibility & contrast

On white

6.10
#A6308F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#A6308F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A6308F
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6308F#FFFFFF#000000##FFFFFF
##A6308F1.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335692
Deuteranopia (green-blind)
#5A688C
Tritanopia (blue-blind)
#AF375B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a6308f;
/* rgb */ color: rgb(166, 48, 143);
/* oklch */ color: oklch(52.0% 0.185 336.8);
Tailwind
colors: {
  custom: {
    50: '#c473b0',
    500: '#a6308f',
    950: '#000000',
  },
}
SCSS
$custom: #a6308f;
$custom-light: #c473b0;
$custom-dark: #000000;
JSON
{
  "hex": "#a6308f",
  "rgb": {
    "r": 166,
    "g": 48,
    "b": 143
  },
  "hsl": {
    "h": 311.695,
    "s": 55.14,
    "l": 41.961
  },
  "oklch": {
    "l": 0.52041,
    "c": 0.18472,
    "h": 336.8
  },
  "luminance": 0.12204
}

Semantic roles & 50–950 ramp

primary
#A6308F
secondary
#71C081
accent
#DE6649
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #A6308F

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

Preview Lab → · Contrast checker → · Palette generator →

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