#A6247E#A6247E

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

Color values

HEX#A6247E
RGBrgb(166, 36, 126)
HSLhsl(318, 64%, 40%)
HSVhsv(318, 78%, 65%)
CMYKcmyk(0%, 78.3%, 24.1%, 34.9%)
CIE-LABlab(39.37, 59.33, -19.67)
CIE-LCHlch(39.37, 62.50, 341.66°)
OKLaboklab(50.22% 0.1793 -0.0526)
OKLCHoklch(50.22% 0.187 343.7)
XYZxyz(20.1235, 10.8773, 20.7744)
Luminance0.1087 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6247E #24A64C
analogous
#8D24A6 #A6247E #A6243D
triadic
#A6247E #7EA624 #247EA6
tetradic
#A6247E #A68D24 #24A64C #243DA6
square
#A6247E #A68D24 #24A64C #243DA6
split-complementary
#A6247E #3DA624 #24A68D
monochromatic
#410E32 #741958 #A6247E #D334A2 #DE66B9

Accessibility & contrast

On white

6.61
#A6247E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A6247E
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6247E#FFFFFF#000000##FFFFFF
##A6247E1.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344F80
Deuteranopia (green-blind)
#5C647B
Tritanopia (blue-blind)
#B1244F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a6247e;
/* rgb */ color: rgb(166, 36, 126);
/* oklch */ color: oklch(50.2% 0.187 343.7);
Tailwind
colors: {
  custom: {
    50: '#c56da3',
    500: '#a6247e',
    950: '#000000',
  },
}
SCSS
$custom: #a6247e;
$custom-light: #c56da3;
$custom-dark: #000000;
JSON
{
  "hex": "#a6247e",
  "rgb": {
    "r": 166,
    "g": 36,
    "b": 126
  },
  "hsl": {
    "h": 318.462,
    "s": 64.356,
    "l": 39.608
  },
  "oklch": {
    "l": 0.50217,
    "c": 0.18683,
    "h": 343.7
  },
  "luminance": 0.10875
}

Semantic roles & 50–950 ramp

primary
#A6247E
secondary
#62C480
accent
#E77440
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A6247E

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

Preview Lab → · Contrast checker → · Palette generator →

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