#A7256D#A7256D

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

Color values

HEX#A7256D
RGBrgb(167, 37, 109)
HSLhsl(327, 64%, 40%)
HSVhsv(327, 78%, 65%)
CMYKcmyk(0%, 77.8%, 34.7%, 34.5%)
CIE-LABlab(38.98, 57.22, -9.64)
CIE-LCHlch(38.98, 58.03, 350.43°)
OKLaboklab(49.74% 0.1755 -0.0249)
OKLCHoklch(49.74% 0.177 351.9)
XYZxyz(19.3594, 10.6451, 15.5003)
Luminance0.1064 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7256D #25A75F
analogous
#A025A7 #A7256D #A7252C
triadic
#A7256D #6DA725 #256DA7
tetradic
#A7256D #A7A025 #25A75F #252CA7
square
#A7256D #A7A025 #25A75F #252CA7
split-complementary
#A7256D #2CA725 #25A7A0
monochromatic
#430F2C #751A4C #A7256D #D3378D #DE69AA

Accessibility & contrast

On white

6.71
#A7256D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A7256D
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7256D#FFFFFF#000000##FFFFFF
##A7256D1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a7256d;
/* rgb */ color: rgb(167, 37, 109);
/* oklch */ color: oklch(49.7% 0.177 351.9);
Tailwind
colors: {
  custom: {
    50: '#c66d96',
    500: '#a7256d',
    950: '#000000',
  },
}
SCSS
$custom: #a7256d;
$custom-light: #c66d96;
$custom-dark: #000000;
JSON
{
  "hex": "#a7256d",
  "rgb": {
    "r": 167,
    "g": 37,
    "b": 109
  },
  "hsl": {
    "h": 326.769,
    "s": 63.725,
    "l": 40
  },
  "oklch": {
    "l": 0.49738,
    "c": 0.17724,
    "h": 351.9
  },
  "luminance": 0.10643
}

Semantic roles & 50–950 ramp

primary
#A7256D
secondary
#64C48F
accent
#E78B41
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14080D
muted
#827B7E

Preview Lab

Preview with #A7256D

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

Preview Lab → · Contrast checker → · Palette generator →

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