#A6248D#A6248D

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

Color values

HEX#A6248D
RGBrgb(166, 36, 141)
HSLhsl(312, 64%, 40%)
HSVhsv(312, 78%, 65%)
CMYKcmyk(0%, 78.3%, 15.1%, 34.9%)
CIE-LABlab(40.07, 61.37, -27.82)
CIE-LCHlch(40.07, 67.38, 335.62°)
OKLaboklab(50.95% 0.1813 -0.0757)
OKLCHoklch(50.95% 0.196 337.3)
XYZxyz(21.1649, 11.2939, 26.2594)
Luminance0.1129 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6248D #24A63D
analogous
#7E24A6 #A6248D #A6244C
triadic
#A6248D #8DA624 #248DA6
tetradic
#A6248D #A67E24 #24A63D #244CA6
square
#A6248D #A67E24 #24A63D #244CA6
split-complementary
#A6248D #4CA624 #24A67E
monochromatic
#410E38 #741962 #A6248D #D334B4 #DE66C7

Accessibility & contrast

On white

6.44
#A6248D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#A6248D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A6248D
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6248D#FFFFFF#000000##FFFFFF
##A6248D1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295290
Deuteranopia (green-blind)
#57658A
Tritanopia (blue-blind)
#AF2D57
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a6248d;
/* rgb */ color: rgb(166, 36, 141);
/* oklch */ color: oklch(50.9% 0.196 337.3);
Tailwind
colors: {
  custom: {
    50: '#c46eae',
    500: '#a6248d',
    950: '#000000',
  },
}
SCSS
$custom: #a6248d;
$custom-light: #c46eae;
$custom-dark: #000000;
JSON
{
  "hex": "#a6248d",
  "rgb": {
    "r": 166,
    "g": 36,
    "b": 141
  },
  "hsl": {
    "h": 311.538,
    "s": 64.356,
    "l": 39.608
  },
  "oklch": {
    "l": 0.50948,
    "c": 0.19645,
    "h": 337.3
  },
  "luminance": 0.11292
}

Semantic roles & 50–950 ramp

primary
#A6248D
secondary
#62C475
accent
#E76140
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A6248D

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

Preview Lab → · Contrast checker → · Palette generator →

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