#A7255C#A7255C

#A7255C is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.1% C 0.170 H 0.4°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#A7255C
RGBrgb(167, 37, 92)
HSLhsl(335, 64%, 40%)
HSVhsv(335, 78%, 65%)
CMYKcmyk(0%, 77.8%, 44.9%, 34.5%)
CIE-LABlab(38.40, 55.45, 0.26)
CIE-LCHlch(38.40, 55.45, 0.27°)
OKLaboklab(49.13% 0.1703 0.0013)
OKLCHoklch(49.13% 0.17 0.4)
XYZxyz(18.5312, 10.3138, 11.1381)
Luminance0.1031 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7255C #25A770
analogous
#A7259D #A7255C #A72F25
triadic
#A7255C #5CA725 #255CA7
tetradic
#A7255C #9DA725 #25A770 #2F25A7
square
#A7255C #9DA725 #25A770 #2F25A7
split-complementary
#A7255C #25A72F #259DA7
monochromatic
#430F25 #751A40 #A7255C #D33779 #DE699A

Accessibility & contrast

On white

6.86
#A7255C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#A7255C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A7255C
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7255C#FFFFFF#000000##FFFFFF
##A7255C1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434A5D
Deuteranopia (green-blind)
#666359
Tritanopia (blue-blind)
#B5093D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a7255c;
/* rgb */ color: rgb(167, 37, 92);
/* oklch */ color: oklch(49.1% 0.170 0.4);
Tailwind
colors: {
  custom: {
    50: '#c76d8a',
    500: '#a7255c',
    950: '#000000',
  },
}
SCSS
$custom: #a7255c;
$custom-light: #c76d8a;
$custom-dark: #000000;
JSON
{
  "hex": "#a7255c",
  "rgb": {
    "r": 167,
    "g": 37,
    "b": 92
  },
  "hsl": {
    "h": 334.615,
    "s": 63.725,
    "l": 40
  },
  "oklch": {
    "l": 0.49128,
    "c": 0.17029,
    "h": 0.4
  },
  "luminance": 0.10311
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A7255C

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

Preview Lab → · Contrast checker → · Palette generator →

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