#A7255A#A7255A

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

Color values

HEX#A7255A
RGBrgb(167, 37, 90)
HSLhsl(336, 64%, 40%)
HSVhsv(336, 78%, 65%)
CMYKcmyk(0%, 77.8%, 46.1%, 34.5%)
CIE-LABlab(38.34, 55.26, 1.44)
CIE-LCHlch(38.34, 55.28, 1.49°)
OKLaboklab(49.06% 0.1696 0.0043)
OKLCHoklch(49.06% 0.17 1.5)
XYZxyz(18.4449, 10.2793, 10.6837)
Luminance0.1028 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7255A #25A772
analogous
#A7259B #A7255A #A73125
triadic
#A7255A #5AA725 #255AA7
tetradic
#A7255A #9BA725 #25A772 #3125A7
square
#A7255A #9BA725 #25A772 #3125A7
split-complementary
#A7255A #25A731 #259BA7
monochromatic
#430F24 #751A3F #A7255A #D33776 #DE6998

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A7255A#FFFFFF#000000##FFFFFF
##A7255A1.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)
#444A5B
Deuteranopia (green-blind)
#676357
Tritanopia (blue-blind)
#B6073C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a7255a;
/* rgb */ color: rgb(167, 37, 90);
/* oklch */ color: oklch(49.1% 0.170 1.5);
Tailwind
colors: {
  custom: {
    50: '#c76d88',
    500: '#a7255a',
    950: '#000000',
  },
}
SCSS
$custom: #a7255a;
$custom-light: #c76d88;
$custom-dark: #000000;
JSON
{
  "hex": "#a7255a",
  "rgb": {
    "r": 167,
    "g": 37,
    "b": 90
  },
  "hsl": {
    "h": 335.538,
    "s": 63.725,
    "l": 40
  },
  "oklch": {
    "l": 0.49064,
    "c": 0.16966,
    "h": 1.5
  },
  "luminance": 0.10277
}

Semantic roles & 50–950 ramp

primary
#A7255A
secondary
#64C49D
accent
#E7A341
background
#FCF6F8
surface
#F9ECEF
border
#D2C7CA
text
#14080B
muted
#827A7C

Preview Lab

Preview with #A7255A

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

Preview Lab → · Contrast checker → · Palette generator →

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