#A6248A#A6248A

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

Color values

HEX#A6248A
RGBrgb(166, 36, 138)
HSLhsl(313, 64%, 40%)
HSVhsv(313, 78%, 65%)
CMYKcmyk(0%, 78.3%, 16.9%, 34.9%)
CIE-LABlab(39.92, 60.95, -26.21)
CIE-LCHlch(39.92, 66.35, 336.73°)
OKLaboklab(50.8% 0.181 -0.0711)
OKLCHoklch(50.8% 0.194 338.6)
XYZxyz(20.9447, 11.2058, 25.0997)
Luminance0.1120 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6248A #24A640
analogous
#8124A6 #A6248A #A62449
triadic
#A6248A #8AA624 #248AA6
tetradic
#A6248A #A68124 #24A640 #2449A6
square
#A6248A #A68124 #24A640 #2449A6
split-complementary
#A6248A #49A624 #24A681
monochromatic
#410E36 #741960 #A6248A #D334B1 #DE66C4

Accessibility & contrast

On white

6.48
#A6248A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#A6248A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A6248A
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6248A#FFFFFF#000000##FFFFFF
##A6248A1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B518D
Deuteranopia (green-blind)
#586587
Tritanopia (blue-blind)
#B02B55
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a6248a;
/* rgb */ color: rgb(166, 36, 138);
/* oklch */ color: oklch(50.8% 0.194 338.6);
Tailwind
colors: {
  custom: {
    50: '#c46eac',
    500: '#a6248a',
    950: '#000000',
  },
}
SCSS
$custom: #a6248a;
$custom-light: #c46eac;
$custom-dark: #000000;
JSON
{
  "hex": "#a6248a",
  "rgb": {
    "r": 166,
    "g": 36,
    "b": 138
  },
  "hsl": {
    "h": 312.923,
    "s": 64.356,
    "l": 39.608
  },
  "oklch": {
    "l": 0.50795,
    "c": 0.19444,
    "h": 338.6
  },
  "luminance": 0.11204
}

Semantic roles & 50–950 ramp

primary
#A6248A
secondary
#62C477
accent
#E76440
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A6248A

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

Preview Lab → · Contrast checker → · Palette generator →

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