#A7255D#A7255D

#A7255D is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.2% C 0.171 H 359.9°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#A7255D
RGBrgb(167, 37, 93)
HSLhsl(334, 64%, 40%)
HSVhsv(334, 78%, 65%)
CMYKcmyk(0%, 77.8%, 44.3%, 34.5%)
CIE-LABlab(38.43, 55.54, -0.33)
CIE-LCHlch(38.43, 55.54, 359.66°)
OKLaboklab(49.16% 0.1706 -0.0002)
OKLCHoklch(49.16% 0.171 359.9)
XYZxyz(18.5752, 10.3314, 11.3698)
Luminance0.1033 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7255D #25A76F
analogous
#A7259E #A7255D #A72E25
triadic
#A7255D #5DA725 #255DA7
tetradic
#A7255D #9EA725 #25A76F #2E25A7
square
#A7255D #9EA725 #25A76F #2E25A7
split-complementary
#A7255D #25A72E #259EA7
monochromatic
#430F25 #751A41 #A7255D #D3377A #DE699B

Accessibility & contrast

On white

6.85
#A7255D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#A7255D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A7255D
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7255D#FFFFFF#000000##FFFFFF
##A7255D1.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434B5E
Deuteranopia (green-blind)
#66635A
Tritanopia (blue-blind)
#B50A3E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a7255d;
/* rgb */ color: rgb(167, 37, 93);
/* oklch */ color: oklch(49.2% 0.171 359.9);
Tailwind
colors: {
  custom: {
    50: '#c66d8a',
    500: '#a7255d',
    950: '#000000',
  },
}
SCSS
$custom: #a7255d;
$custom-light: #c66d8a;
$custom-dark: #000000;
JSON
{
  "hex": "#a7255d",
  "rgb": {
    "r": 167,
    "g": 37,
    "b": 93
  },
  "hsl": {
    "h": 334.154,
    "s": 63.725,
    "l": 40
  },
  "oklch": {
    "l": 0.49161,
    "c": 0.17063,
    "h": 359.9
  },
  "luminance": 0.10329
}

Semantic roles & 50–950 ramp

primary
#A7255D
secondary
#64C49B
accent
#E79F41
background
#FCF6F8
surface
#F9ECF0
border
#D2C7CB
text
#14080B
muted
#827A7C

Preview Lab

Preview with #A7255D

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

Preview Lab → · Contrast checker → · Palette generator →

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