#A6247F#A6247F

#A6247F is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.3% C 0.187 H 343.2°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#A6247F
RGBrgb(166, 36, 127)
HSLhsl(318, 64%, 40%)
HSVhsv(318, 78%, 65%)
CMYKcmyk(0%, 78.3%, 23.5%, 34.9%)
CIE-LABlab(39.42, 59.46, -20.22)
CIE-LCHlch(39.42, 62.80, 341.22°)
OKLaboklab(50.26% 0.1795 -0.0541)
OKLCHoklch(50.26% 0.187 343.2)
XYZxyz(20.1883, 10.9032, 21.1159)
Luminance0.1090 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6247F #24A64B
analogous
#8C24A6 #A6247F #A6243E
triadic
#A6247F #7FA624 #247FA6
tetradic
#A6247F #A68C24 #24A64B #243EA6
square
#A6247F #A68C24 #24A64B #243EA6
split-complementary
#A6247F #3EA624 #24A68C
monochromatic
#410E32 #741959 #A6247F #D334A3 #DE66BA

Accessibility & contrast

On white

6.60
#A6247F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#A6247F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A6247F
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6247F#FFFFFF#000000##FFFFFF
##A6247F1.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334F81
Deuteranopia (green-blind)
#5C647C
Tritanopia (blue-blind)
#B1244F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a6247f;
/* rgb */ color: rgb(166, 36, 127);
/* oklch */ color: oklch(50.3% 0.187 343.2);
Tailwind
colors: {
  custom: {
    50: '#c56da4',
    500: '#a6247f',
    950: '#000000',
  },
}
SCSS
$custom: #a6247f;
$custom-light: #c56da4;
$custom-dark: #000000;
JSON
{
  "hex": "#a6247f",
  "rgb": {
    "r": 166,
    "g": 36,
    "b": 127
  },
  "hsl": {
    "h": 318,
    "s": 64.356,
    "l": 39.608
  },
  "oklch": {
    "l": 0.50263,
    "c": 0.18744,
    "h": 343.2
  },
  "luminance": 0.10901
}

Semantic roles & 50–950 ramp

primary
#A6247F
secondary
#62C47F
accent
#E77340
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A6247F

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

Preview Lab → · Contrast checker → · Palette generator →

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