#A7256C#A7256C

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

Color values

HEX#A7256C
RGBrgb(167, 37, 108)
HSLhsl(327, 64%, 40%)
HSVhsv(327, 78%, 65%)
CMYKcmyk(0%, 77.8%, 35.3%, 34.5%)
CIE-LABlab(38.94, 57.11, -9.07)
CIE-LCHlch(38.94, 57.82, 350.98°)
OKLaboklab(49.7% 0.1752 -0.0233)
OKLCHoklch(49.7% 0.177 352.4)
XYZxyz(19.3059, 10.6237, 15.2184)
Luminance0.1062 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7256C #25A760
analogous
#A125A7 #A7256C #A7252B
triadic
#A7256C #6CA725 #256CA7
tetradic
#A7256C #A7A125 #25A760 #252BA7
square
#A7256C #A7A125 #25A760 #252BA7
split-complementary
#A7256C #2BA725 #25A7A1
monochromatic
#430F2B #751A4C #A7256C #D3378C #DE69A9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A7256C#FFFFFF#000000##FFFFFF
##A7256C1.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4D6E
Deuteranopia (green-blind)
#636469
Tritanopia (blue-blind)
#B41845
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a7256c;
/* rgb */ color: rgb(167, 37, 108);
/* oklch */ color: oklch(49.7% 0.177 352.4);
Tailwind
colors: {
  custom: {
    50: '#c66d96',
    500: '#a7256c',
    950: '#000000',
  },
}
SCSS
$custom: #a7256c;
$custom-light: #c66d96;
$custom-dark: #000000;
JSON
{
  "hex": "#a7256c",
  "rgb": {
    "r": 167,
    "g": 37,
    "b": 108
  },
  "hsl": {
    "h": 327.231,
    "s": 63.725,
    "l": 40
  },
  "oklch": {
    "l": 0.49699,
    "c": 0.17676,
    "h": 352.4
  },
  "luminance": 0.10621
}

Semantic roles & 50–950 ramp

primary
#A7256C
secondary
#64C48F
accent
#E78C41
background
#FCF7F9
surface
#F9EDF1
border
#D2C8CB
text
#14080D
muted
#827B7E

Preview Lab

Preview with #A7256C

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

Preview Lab → · Contrast checker → · Palette generator →

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