#A6248F#A6248F

#A6248F is a mid, vivid pink. Relative luminance 0.114; OKLCH L 51.1% C 0.198 H 336.5°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#A6248F
RGBrgb(166, 36, 143)
HSLhsl(311, 64%, 40%)
HSVhsv(311, 78%, 65%)
CMYKcmyk(0%, 78.3%, 13.9%, 34.9%)
CIE-LABlab(40.17, 61.66, -28.88)
CIE-LCHlch(40.17, 68.09, 334.90°)
OKLaboklab(51.05% 0.1815 -0.0787)
OKLCHoklch(51.05% 0.198 336.5)
XYZxyz(21.3151, 11.3539, 27.0502)
Luminance0.1135 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6248F #24A63B
analogous
#7C24A6 #A6248F #A6244E
triadic
#A6248F #8FA624 #248FA6
tetradic
#A6248F #A67C24 #24A63B #244EA6
square
#A6248F #A67C24 #24A63B #244EA6
split-complementary
#A6248F #4EA624 #24A67C
monochromatic
#410E38 #741964 #A6248F #D334B7 #DE66C9

Accessibility & contrast

On white

6.42
#A6248F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#A6248F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A6248F
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6248F#FFFFFF#000000##FFFFFF
##A6248F1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275292
Deuteranopia (green-blind)
#56668C
Tritanopia (blue-blind)
#AF2E58
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a6248f;
/* rgb */ color: rgb(166, 36, 143);
/* oklch */ color: oklch(51.1% 0.198 336.5);
Tailwind
colors: {
  custom: {
    50: '#c46eb0',
    500: '#a6248f',
    950: '#000000',
  },
}
SCSS
$custom: #a6248f;
$custom-light: #c46eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#a6248f",
  "rgb": {
    "r": 166,
    "g": 36,
    "b": 143
  },
  "hsl": {
    "h": 310.615,
    "s": 64.356,
    "l": 39.608
  },
  "oklch": {
    "l": 0.51052,
    "c": 0.1978,
    "h": 336.5
  },
  "luminance": 0.11352
}

Semantic roles & 50–950 ramp

primary
#A6248F
secondary
#62C473
accent
#E75E40
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130810
muted
#827B7F

Preview Lab

Preview with #A6248F

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

Preview Lab → · Contrast checker → · Palette generator →

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