#A6248C#A6248C

#A6248C is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.9% C 0.196 H 337.7°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#A6248C
RGBrgb(166, 36, 140)
HSLhsl(312, 64%, 40%)
HSVhsv(312, 78%, 65%)
CMYKcmyk(0%, 78.3%, 15.7%, 34.9%)
CIE-LABlab(40.02, 61.23, -27.28)
CIE-LCHlch(40.02, 67.04, 335.98°)
OKLaboklab(50.9% 0.1812 -0.0742)
OKLCHoklch(50.9% 0.196 337.7)
XYZxyz(21.0909, 11.2642, 25.8693)
Luminance0.1126 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6248C #24A63E
analogous
#7F24A6 #A6248C #A6244B
triadic
#A6248C #8CA624 #248CA6
tetradic
#A6248C #A67F24 #24A63E #244BA6
square
#A6248C #A67F24 #24A63E #244BA6
split-complementary
#A6248C #4BA624 #24A67F
monochromatic
#410E37 #741962 #A6248C #D334B3 #DE66C6

Accessibility & contrast

On white

6.46
#A6248C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A6248C
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6248C#FFFFFF#000000##FFFFFF
##A6248C1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A528F
Deuteranopia (green-blind)
#576589
Tritanopia (blue-blind)
#AF2C56
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a6248c;
/* rgb */ color: rgb(166, 36, 140);
/* oklch */ color: oklch(50.9% 0.196 337.7);
Tailwind
colors: {
  custom: {
    50: '#c46eae',
    500: '#a6248c',
    950: '#000000',
  },
}
SCSS
$custom: #a6248c;
$custom-light: #c46eae;
$custom-dark: #000000;
JSON
{
  "hex": "#a6248c",
  "rgb": {
    "r": 166,
    "g": 36,
    "b": 140
  },
  "hsl": {
    "h": 312,
    "s": 64.356,
    "l": 39.608
  },
  "oklch": {
    "l": 0.50897,
    "c": 0.19577,
    "h": 337.7
  },
  "luminance": 0.11262
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A6248C

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

Preview Lab → · Contrast checker → · Palette generator →

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