#A7256F#A7256F

#A7256F is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.8% C 0.178 H 351.0°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#A7256F
RGBrgb(167, 37, 111)
HSLhsl(326, 64%, 40%)
HSVhsv(326, 78%, 65%)
CMYKcmyk(0%, 77.8%, 33.5%, 34.5%)
CIE-LABlab(39.05, 57.45, -10.79)
CIE-LCHlch(39.05, 58.45, 349.37°)
OKLaboklab(49.82% 0.176 -0.028)
OKLCHoklch(49.82% 0.178 351)
XYZxyz(19.4683, 10.6887, 16.0737)
Luminance0.1069 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7256F #25A75D
analogous
#9E25A7 #A7256F #A7252E
triadic
#A7256F #6FA725 #256FA7
tetradic
#A7256F #A79E25 #25A75D #252EA7
square
#A7256F #A79E25 #25A75D #252EA7
split-complementary
#A7256F #2EA725 #25A79E
monochromatic
#430F2C #751A4E #A7256F #D3378F #DE69AB

Accessibility & contrast

On white

6.69
#A7256F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#A7256F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A7256F
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7256F#FFFFFF#000000##FFFFFF
##A7256F1.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4D71
Deuteranopia (green-blind)
#62646C
Tritanopia (blue-blind)
#B41A47
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a7256f;
/* rgb */ color: rgb(167, 37, 111);
/* oklch */ color: oklch(49.8% 0.178 351.0);
Tailwind
colors: {
  custom: {
    50: '#c66d98',
    500: '#a7256f',
    950: '#000000',
  },
}
SCSS
$custom: #a7256f;
$custom-light: #c66d98;
$custom-dark: #000000;
JSON
{
  "hex": "#a7256f",
  "rgb": {
    "r": 167,
    "g": 37,
    "b": 111
  },
  "hsl": {
    "h": 325.846,
    "s": 63.725,
    "l": 40
  },
  "oklch": {
    "l": 0.49817,
    "c": 0.17821,
    "h": 351
  },
  "luminance": 0.10686
}

Semantic roles & 50–950 ramp

primary
#A7256F
secondary
#64C48D
accent
#E78841
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14080D
muted
#827B7E

Preview Lab

Preview with #A7256F

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

Preview Lab → · Contrast checker → · Palette generator →

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