#A7256A#A7256A

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

Color values

HEX#A7256A
RGBrgb(167, 37, 106)
HSLhsl(328, 64%, 40%)
HSVhsv(328, 78%, 65%)
CMYKcmyk(0%, 77.8%, 36.5%, 34.5%)
CIE-LABlab(38.87, 56.89, -7.92)
CIE-LCHlch(38.87, 57.43, 352.07°)
OKLaboklab(49.62% 0.1747 -0.0202)
OKLCHoklch(49.62% 0.176 353.4)
XYZxyz(19.2007, 10.5816, 14.6642)
Luminance0.1058 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7256A #25A762
analogous
#A325A7 #A7256A #A72529
triadic
#A7256A #6AA725 #256AA7
tetradic
#A7256A #A7A325 #25A762 #2529A7
square
#A7256A #A7A325 #25A762 #2529A7
split-complementary
#A7256A #29A725 #25A7A3
monochromatic
#430F2A #751A4A #A7256A #D33789 #DE69A7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A7256A#FFFFFF#000000##FFFFFF
##A7256A1.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)
#3E4C6C
Deuteranopia (green-blind)
#636467
Tritanopia (blue-blind)
#B41644
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a7256a;
/* rgb */ color: rgb(167, 37, 106);
/* oklch */ color: oklch(49.6% 0.176 353.4);
Tailwind
colors: {
  custom: {
    50: '#c66d94',
    500: '#a7256a',
    950: '#000000',
  },
}
SCSS
$custom: #a7256a;
$custom-light: #c66d94;
$custom-dark: #000000;
JSON
{
  "hex": "#a7256a",
  "rgb": {
    "r": 167,
    "g": 37,
    "b": 106
  },
  "hsl": {
    "h": 328.154,
    "s": 63.725,
    "l": 40
  },
  "oklch": {
    "l": 0.49622,
    "c": 0.17583,
    "h": 353.4
  },
  "luminance": 0.10579
}

Semantic roles & 50–950 ramp

primary
#A7256A
secondary
#64C491
accent
#E78F41
background
#FCF7F9
surface
#F9EDF1
border
#D2C8CB
text
#14080D
muted
#827B7E

Preview Lab

Preview with #A7256A

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

Preview Lab → · Contrast checker → · Palette generator →

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