#A7256E#A7256E

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

Color values

HEX#A7256E
RGBrgb(167, 37, 110)
HSLhsl(326, 64%, 40%)
HSVhsv(326, 78%, 65%)
CMYKcmyk(0%, 77.8%, 34.1%, 34.5%)
CIE-LABlab(39.01, 57.33, -10.21)
CIE-LCHlch(39.01, 58.24, 349.90°)
OKLaboklab(49.78% 0.1757 -0.0265)
OKLCHoklch(49.78% 0.178 351.4)
XYZxyz(19.4136, 10.6668, 15.7854)
Luminance0.1066 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7256E #25A75E
analogous
#9F25A7 #A7256E #A7252D
triadic
#A7256E #6EA725 #256EA7
tetradic
#A7256E #A79F25 #25A75E #252DA7
square
#A7256E #A79F25 #25A75E #252DA7
split-complementary
#A7256E #2DA725 #25A79F
monochromatic
#430F2C #751A4D #A7256E #D3378E #DE69AA

Accessibility & contrast

On white

6.70
#A7256E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A7256E
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7256E#FFFFFF#000000##FFFFFF
##A7256E1.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a7256e;
/* rgb */ color: rgb(167, 37, 110);
/* oklch */ color: oklch(49.8% 0.178 351.4);
Tailwind
colors: {
  custom: {
    50: '#c66d97',
    500: '#a7256e',
    950: '#000000',
  },
}
SCSS
$custom: #a7256e;
$custom-light: #c66d97;
$custom-dark: #000000;
JSON
{
  "hex": "#a7256e",
  "rgb": {
    "r": 167,
    "g": 37,
    "b": 110
  },
  "hsl": {
    "h": 326.308,
    "s": 63.725,
    "l": 40
  },
  "oklch": {
    "l": 0.49778,
    "c": 0.17772,
    "h": 351.4
  },
  "luminance": 0.10664
}

Semantic roles & 50–950 ramp

primary
#A7256E
secondary
#64C48E
accent
#E78A41
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14080D
muted
#827B7E

Preview Lab

Preview with #A7256E

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

Preview Lab → · Contrast checker → · Palette generator →

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