#A6248B#A6248B

#A6248B is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.8% C 0.195 H 338.1°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#A6248B
RGBrgb(166, 36, 139)
HSLhsl(312, 64%, 40%)
HSVhsv(312, 78%, 65%)
CMYKcmyk(0%, 78.3%, 16.3%, 34.9%)
CIE-LABlab(39.97, 61.09, -26.75)
CIE-LCHlch(39.97, 66.69, 336.36°)
OKLaboklab(50.85% 0.1811 -0.0726)
OKLCHoklch(50.85% 0.195 338.1)
XYZxyz(21.0175, 11.2349, 25.4828)
Luminance0.1123 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6248B #24A63F
analogous
#8024A6 #A6248B #A6244A
triadic
#A6248B #8BA624 #248BA6
tetradic
#A6248B #A68024 #24A63F #244AA6
square
#A6248B #A68024 #24A63F #244AA6
split-complementary
#A6248B #4AA624 #24A680
monochromatic
#410E37 #741961 #A6248B #D334B2 #DE66C5

Accessibility & contrast

On white

6.47
#A6248B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#A6248B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A6248B
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6248B#FFFFFF#000000##FFFFFF
##A6248B1.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B518E
Deuteranopia (green-blind)
#576588
Tritanopia (blue-blind)
#AF2B56
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a6248b;
/* rgb */ color: rgb(166, 36, 139);
/* oklch */ color: oklch(50.8% 0.195 338.1);
Tailwind
colors: {
  custom: {
    50: '#c46ead',
    500: '#a6248b',
    950: '#000000',
  },
}
SCSS
$custom: #a6248b;
$custom-light: #c46ead;
$custom-dark: #000000;
JSON
{
  "hex": "#a6248b",
  "rgb": {
    "r": 166,
    "g": 36,
    "b": 139
  },
  "hsl": {
    "h": 312.462,
    "s": 64.356,
    "l": 39.608
  },
  "oklch": {
    "l": 0.50846,
    "c": 0.1951,
    "h": 338.1
  },
  "luminance": 0.11233
}

Semantic roles & 50–950 ramp

primary
#A6248B
secondary
#62C476
accent
#E76340
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A6248B

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

Preview Lab → · Contrast checker → · Palette generator →

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