#A7246D#A7246D

#A7246D is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.7% C 0.178 H 351.8°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#A7246D
RGBrgb(167, 36, 109)
HSLhsl(327, 65%, 40%)
HSVhsv(327, 78%, 65%)
CMYKcmyk(0%, 78.4%, 34.7%, 34.5%)
CIE-LABlab(38.87, 57.52, -9.80)
CIE-LCHlch(38.87, 58.35, 350.33°)
OKLaboklab(49.66% 0.1764 -0.0253)
OKLCHoklch(49.66% 0.178 351.8)
XYZxyz(19.3287, 10.5837, 15.4900)
Luminance0.1058 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7246D #24A75E
analogous
#A024A7 #A7246D #A7242B
triadic
#A7246D #6DA724 #246DA7
tetradic
#A7246D #A7A024 #24A75E #242BA7
square
#A7246D #A7A024 #24A75E #242BA7
split-complementary
#A7246D #2BA724 #24A7A0
monochromatic
#420E2B #75194C #A7246D #D3358D #DE67AA

Accessibility & contrast

On white

6.74
#A7246D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#A7246D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A7246D
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7246D#FFFFFF#000000##FFFFFF
##A7246D1.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4D6F
Deuteranopia (green-blind)
#62646A
Tritanopia (blue-blind)
#B41746
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a7246d;
/* rgb */ color: rgb(167, 36, 109);
/* oklch */ color: oklch(49.7% 0.178 351.8);
Tailwind
colors: {
  custom: {
    50: '#c66d96',
    500: '#a7246d',
    950: '#000000',
  },
}
SCSS
$custom: #a7246d;
$custom-light: #c66d96;
$custom-dark: #000000;
JSON
{
  "hex": "#a7246d",
  "rgb": {
    "r": 167,
    "g": 36,
    "b": 109
  },
  "hsl": {
    "h": 326.565,
    "s": 64.532,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49661,
    "c": 0.17824,
    "h": 351.8
  },
  "luminance": 0.10581
}

Semantic roles & 50–950 ramp

primary
#A7246D
secondary
#63C48E
accent
#E88A40
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14080D
muted
#827B7E

Preview Lab

Preview with #A7246D

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

Preview Lab → · Contrast checker → · Palette generator →

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