#A7256B#A7256B

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

Color values

HEX#A7256B
RGBrgb(167, 37, 107)
HSLhsl(328, 64%, 40%)
HSVhsv(328, 78%, 65%)
CMYKcmyk(0%, 77.8%, 35.9%, 34.5%)
CIE-LABlab(38.90, 57.00, -8.50)
CIE-LCHlch(38.90, 57.63, 351.52°)
OKLaboklab(49.66% 0.1749 -0.0218)
OKLCHoklch(49.66% 0.176 352.9)
XYZxyz(19.2530, 10.6025, 14.9397)
Luminance0.1060 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7256B #25A761
analogous
#A225A7 #A7256B #A7252A
triadic
#A7256B #6BA725 #256BA7
tetradic
#A7256B #A7A225 #25A761 #252AA7
square
#A7256B #A7A225 #25A761 #252AA7
split-complementary
#A7256B #2AA725 #25A7A2
monochromatic
#430F2B #751A4B #A7256B #D3378B #DE69A8

Accessibility & contrast

On white

6.73
#A7256B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A7256B
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7256B#FFFFFF#000000##FFFFFF
##A7256B1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4D6D
Deuteranopia (green-blind)
#636468
Tritanopia (blue-blind)
#B41745
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a7256b;
/* rgb */ color: rgb(167, 37, 107);
/* oklch */ color: oklch(49.7% 0.176 352.9);
Tailwind
colors: {
  custom: {
    50: '#c66d95',
    500: '#a7256b',
    950: '#000000',
  },
}
SCSS
$custom: #a7256b;
$custom-light: #c66d95;
$custom-dark: #000000;
JSON
{
  "hex": "#a7256b",
  "rgb": {
    "r": 167,
    "g": 37,
    "b": 107
  },
  "hsl": {
    "h": 327.692,
    "s": 63.725,
    "l": 40
  },
  "oklch": {
    "l": 0.49661,
    "c": 0.17629,
    "h": 352.9
  },
  "luminance": 0.106
}

Semantic roles & 50–950 ramp

primary
#A7256B
secondary
#64C490
accent
#E78E41
background
#FCF7F9
surface
#F9EDF1
border
#D2C8CB
text
#14080D
muted
#827B7E

Preview Lab

Preview with #A7256B

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

Preview Lab → · Contrast checker → · Palette generator →

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