#A6248E#A6248E

#A6248E is a mid, vivid pink. Relative luminance 0.113; OKLCH L 51.0% C 0.197 H 336.9°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#A6248E
RGBrgb(166, 36, 142)
HSLhsl(311, 64%, 40%)
HSVhsv(311, 78%, 65%)
CMYKcmyk(0%, 78.3%, 14.5%, 34.9%)
CIE-LABlab(40.12, 61.52, -28.35)
CIE-LCHlch(40.12, 67.74, 335.26°)
OKLaboklab(51% 0.1814 -0.0772)
OKLCHoklch(51% 0.197 336.9)
XYZxyz(21.2397, 11.3238, 26.6530)
Luminance0.1132 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6248E #24A63C
analogous
#7D24A6 #A6248E #A6244D
triadic
#A6248E #8EA624 #248EA6
tetradic
#A6248E #A67D24 #24A63C #244DA6
square
#A6248E #A67D24 #24A63C #244DA6
split-complementary
#A6248E #4DA624 #24A67D
monochromatic
#410E38 #741963 #A6248E #D334B6 #DE66C8

Accessibility & contrast

On white

6.43
#A6248E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A6248E
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6248E#FFFFFF#000000##FFFFFF
##A6248E1.006.433.266.43
#FFFFFF6.431.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285291
Deuteranopia (green-blind)
#56658B
Tritanopia (blue-blind)
#AF2D57
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a6248e;
/* rgb */ color: rgb(166, 36, 142);
/* oklch */ color: oklch(51.0% 0.197 336.9);
Tailwind
colors: {
  custom: {
    50: '#c46eaf',
    500: '#a6248e',
    950: '#000000',
  },
}
SCSS
$custom: #a6248e;
$custom-light: #c46eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#a6248e",
  "rgb": {
    "r": 166,
    "g": 36,
    "b": 142
  },
  "hsl": {
    "h": 311.077,
    "s": 64.356,
    "l": 39.608
  },
  "oklch": {
    "l": 0.51,
    "c": 0.19712,
    "h": 336.9
  },
  "luminance": 0.11322
}

Semantic roles & 50–950 ramp

primary
#A6248E
secondary
#62C474
accent
#E75F40
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A6248E

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

Preview Lab → · Contrast checker → · Palette generator →

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