#A7255B#A7255B

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

Color values

HEX#A7255B
RGBrgb(167, 37, 91)
HSLhsl(335, 64%, 40%)
HSVhsv(335, 78%, 65%)
CMYKcmyk(0%, 77.8%, 45.5%, 34.5%)
CIE-LABlab(38.37, 55.35, 0.85)
CIE-LCHlch(38.37, 55.36, 0.88°)
OKLaboklab(49.1% 0.17 0.0028)
OKLCHoklch(49.1% 0.17 0.9)
XYZxyz(18.4877, 10.2964, 10.9094)
Luminance0.1029 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7255B #25A771
analogous
#A7259C #A7255B #A73025
triadic
#A7255B #5BA725 #255BA7
tetradic
#A7255B #9CA725 #25A771 #3025A7
square
#A7255B #9CA725 #25A771 #3025A7
split-complementary
#A7255B #25A730 #259CA7
monochromatic
#430F24 #751A40 #A7255B #D33777 #DE6999

Accessibility & contrast

On white

6.87
#A7255B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A7255B
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7255B#FFFFFF#000000##FFFFFF
##A7255B1.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434A5C
Deuteranopia (green-blind)
#666358
Tritanopia (blue-blind)
#B6083D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a7255b;
/* rgb */ color: rgb(167, 37, 91);
/* oklch */ color: oklch(49.1% 0.170 0.9);
Tailwind
colors: {
  custom: {
    50: '#c76d89',
    500: '#a7255b',
    950: '#000000',
  },
}
SCSS
$custom: #a7255b;
$custom-light: #c76d89;
$custom-dark: #000000;
JSON
{
  "hex": "#a7255b",
  "rgb": {
    "r": 167,
    "g": 37,
    "b": 91
  },
  "hsl": {
    "h": 335.077,
    "s": 63.725,
    "l": 40
  },
  "oklch": {
    "l": 0.49096,
    "c": 0.16997,
    "h": 0.9
  },
  "luminance": 0.10294
}

Semantic roles & 50–950 ramp

primary
#A7255B
secondary
#64C49C
accent
#E7A241
background
#FCF6F8
surface
#F9ECF0
border
#D2C7CB
text
#14080B
muted
#827A7C

Preview Lab

Preview with #A7255B

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

Preview Lab → · Contrast checker → · Palette generator →

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