#A7255E#A7255E

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

Color values

HEX#A7255E
RGBrgb(167, 37, 94)
HSLhsl(334, 64%, 40%)
HSVhsv(334, 78%, 65%)
CMYKcmyk(0%, 77.8%, 43.7%, 34.5%)
CIE-LABlab(38.46, 55.64, -0.92)
CIE-LCHlch(38.46, 55.65, 359.05°)
OKLaboklab(49.19% 0.171 -0.0018)
OKLCHoklch(49.19% 0.171 359.4)
XYZxyz(18.6197, 10.3492, 11.6046)
Luminance0.1035 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7255E #25A76E
analogous
#A7259F #A7255E #A72D25
triadic
#A7255E #5EA725 #255EA7
tetradic
#A7255E #9FA725 #25A76E #2D25A7
square
#A7255E #9FA725 #25A76E #2D25A7
split-complementary
#A7255E #25A72D #259FA7
monochromatic
#430F26 #751A42 #A7255E #D3377B #DE699C

Accessibility & contrast

On white

6.84
#A7255E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A7255E
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7255E#FFFFFF#000000##FFFFFF
##A7255E1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434B5F
Deuteranopia (green-blind)
#66635B
Tritanopia (blue-blind)
#B50B3E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a7255e;
/* rgb */ color: rgb(167, 37, 94);
/* oklch */ color: oklch(49.2% 0.171 359.4);
Tailwind
colors: {
  custom: {
    50: '#c66d8b',
    500: '#a7255e',
    950: '#000000',
  },
}
SCSS
$custom: #a7255e;
$custom-light: #c66d8b;
$custom-dark: #000000;
JSON
{
  "hex": "#a7255e",
  "rgb": {
    "r": 167,
    "g": 37,
    "b": 94
  },
  "hsl": {
    "h": 333.692,
    "s": 63.725,
    "l": 40
  },
  "oklch": {
    "l": 0.49194,
    "c": 0.17097,
    "h": 359.4
  },
  "luminance": 0.10347
}

Semantic roles & 50–950 ramp

primary
#A7255E
secondary
#64C49A
accent
#E79E41
background
#FCF7F8
surface
#F9EDF0
border
#D2C8CB
text
#14080C
muted
#827B7D

Preview Lab

Preview with #A7255E

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

Preview Lab → · Contrast checker → · Palette generator →

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