#A7246B#A7246B

#A7246B is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.6% C 0.177 H 352.8°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#A7246B
RGBrgb(167, 36, 107)
HSLhsl(327, 65%, 40%)
HSVhsv(327, 78%, 65%)
CMYKcmyk(0%, 78.4%, 35.9%, 34.5%)
CIE-LABlab(38.80, 57.30, -8.65)
CIE-LCHlch(38.80, 57.95, 351.41°)
OKLaboklab(49.58% 0.1759 -0.0222)
OKLCHoklch(49.58% 0.177 352.8)
XYZxyz(19.2223, 10.5411, 14.9295)
Luminance0.1054 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7246B #24A760
analogous
#A224A7 #A7246B #A72429
triadic
#A7246B #6BA724 #246BA7
tetradic
#A7246B #A7A224 #24A760 #2429A7
square
#A7246B #A7A224 #24A760 #2429A7
split-complementary
#A7246B #29A724 #24A7A2
monochromatic
#420E2A #75194B #A7246B #D3358B #DE67A8

Accessibility & contrast

On white

6.76
#A7246B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A7246B
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7246B#FFFFFF#000000##FFFFFF
##A7246B1.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a7246b;
/* rgb */ color: rgb(167, 36, 107);
/* oklch */ color: oklch(49.6% 0.177 352.8);
Tailwind
colors: {
  custom: {
    50: '#c66d95',
    500: '#a7246b',
    950: '#000000',
  },
}
SCSS
$custom: #a7246b;
$custom-light: #c66d95;
$custom-dark: #000000;
JSON
{
  "hex": "#a7246b",
  "rgb": {
    "r": 167,
    "g": 36,
    "b": 107
  },
  "hsl": {
    "h": 327.481,
    "s": 64.532,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49583,
    "c": 0.17729,
    "h": 352.8
  },
  "luminance": 0.10539
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A7246B

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

Preview Lab → · Contrast checker → · Palette generator →

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