#A7246C#A7246C

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

Color values

HEX#A7246C
RGBrgb(167, 36, 108)
HSLhsl(327, 65%, 40%)
HSVhsv(327, 78%, 65%)
CMYKcmyk(0%, 78.4%, 35.3%, 34.5%)
CIE-LABlab(38.83, 57.41, -9.23)
CIE-LCHlch(38.83, 58.15, 350.87°)
OKLaboklab(49.62% 0.1762 -0.0238)
OKLCHoklch(49.62% 0.178 352.3)
XYZxyz(19.2752, 10.5623, 15.2081)
Luminance0.1056 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7246C #24A75F
analogous
#A124A7 #A7246C #A7242A
triadic
#A7246C #6CA724 #246CA7
tetradic
#A7246C #A7A124 #24A75F #242AA7
square
#A7246C #A7A124 #24A75F #242AA7
split-complementary
#A7246C #2AA724 #24A7A1
monochromatic
#420E2B #75194B #A7246C #D3358C #DE67A9

Accessibility & contrast

On white

6.75
#A7246C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#A7246C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A7246C
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7246C#FFFFFF#000000##FFFFFF
##A7246C1.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4C6E
Deuteranopia (green-blind)
#626469
Tritanopia (blue-blind)
#B41645
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a7246c;
/* rgb */ color: rgb(167, 36, 108);
/* oklch */ color: oklch(49.6% 0.178 352.3);
Tailwind
colors: {
  custom: {
    50: '#c66d96',
    500: '#a7246c',
    950: '#000000',
  },
}
SCSS
$custom: #a7246c;
$custom-light: #c66d96;
$custom-dark: #000000;
JSON
{
  "hex": "#a7246c",
  "rgb": {
    "r": 167,
    "g": 36,
    "b": 108
  },
  "hsl": {
    "h": 327.023,
    "s": 64.532,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49622,
    "c": 0.17776,
    "h": 352.3
  },
  "luminance": 0.1056
}

Semantic roles & 50–950 ramp

primary
#A7246C
secondary
#63C48F
accent
#E88C40
background
#FCF7F9
surface
#F9EDF1
border
#D2C8CB
text
#14080D
muted
#827B7E

Preview Lab

Preview with #A7246C

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

Preview Lab → · Contrast checker → · Palette generator →

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