#A7246F#A7246F

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

Color values

HEX#A7246F
RGBrgb(167, 36, 111)
HSLhsl(326, 65%, 40%)
HSVhsv(326, 78%, 65%)
CMYKcmyk(0%, 78.4%, 33.5%, 34.5%)
CIE-LABlab(38.95, 57.75, -10.95)
CIE-LCHlch(38.95, 58.78, 349.27°)
OKLaboklab(49.74% 0.177 -0.0284)
OKLCHoklch(49.74% 0.179 350.9)
XYZxyz(19.4376, 10.6273, 16.0635)
Luminance0.1062 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7246F #24A75C
analogous
#9E24A7 #A7246F #A7242D
triadic
#A7246F #6FA724 #246FA7
tetradic
#A7246F #A79E24 #24A75C #242DA7
square
#A7246F #A79E24 #24A75C #242DA7
split-complementary
#A7246F #2DA724 #24A79E
monochromatic
#420E2C #75194E #A7246F #D33590 #DE67AB

Accessibility & contrast

On white

6.72
#A7246F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#A7246F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A7246F
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7246F#FFFFFF#000000##FFFFFF
##A7246F1.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4D71
Deuteranopia (green-blind)
#62646C
Tritanopia (blue-blind)
#B41947
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a7246f;
/* rgb */ color: rgb(167, 36, 111);
/* oklch */ color: oklch(49.7% 0.179 350.9);
Tailwind
colors: {
  custom: {
    50: '#c66d98',
    500: '#a7246f',
    950: '#000000',
  },
}
SCSS
$custom: #a7246f;
$custom-light: #c66d98;
$custom-dark: #000000;
JSON
{
  "hex": "#a7246f",
  "rgb": {
    "r": 167,
    "g": 36,
    "b": 111
  },
  "hsl": {
    "h": 325.649,
    "s": 64.532,
    "l": 39.804
  },
  "oklch": {
    "l": 0.4974,
    "c": 0.17922,
    "h": 350.9
  },
  "luminance": 0.10625
}

Semantic roles & 50–950 ramp

primary
#A7246F
secondary
#63C48C
accent
#E88840
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14080D
muted
#827B7E

Preview Lab

Preview with #A7246F

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

Preview Lab → · Contrast checker → · Palette generator →

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