#A7255F#A7255F

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

Color values

HEX#A7255F
RGBrgb(167, 37, 95)
HSLhsl(333, 64%, 40%)
HSVhsv(333, 78%, 65%)
CMYKcmyk(0%, 77.8%, 43.1%, 34.5%)
CIE-LABlab(38.49, 55.74, -1.51)
CIE-LCHlch(38.49, 55.76, 358.44°)
OKLaboklab(49.23% 0.1713 -0.0033)
OKLCHoklch(49.23% 0.171 358.9)
XYZxyz(18.6649, 10.3673, 11.8425)
Luminance0.1037 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7255F #25A76D
analogous
#A725A0 #A7255F #A72C25
triadic
#A7255F #5FA725 #255FA7
tetradic
#A7255F #A0A725 #25A76D #2C25A7
square
#A7255F #A0A725 #25A76D #2C25A7
split-complementary
#A7255F #25A72C #25A0A7
monochromatic
#430F26 #751A42 #A7255F #D3377C #DE699D

Accessibility & contrast

On white

6.83
#A7255F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A7255F
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7255F#FFFFFF#000000##FFFFFF
##A7255F1.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424B60
Deuteranopia (green-blind)
#66635C
Tritanopia (blue-blind)
#B50C3F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a7255f;
/* rgb */ color: rgb(167, 37, 95);
/* oklch */ color: oklch(49.2% 0.171 358.9);
Tailwind
colors: {
  custom: {
    50: '#c66d8c',
    500: '#a7255f',
    950: '#000000',
  },
}
SCSS
$custom: #a7255f;
$custom-light: #c66d8c;
$custom-dark: #000000;
JSON
{
  "hex": "#a7255f",
  "rgb": {
    "r": 167,
    "g": 37,
    "b": 95
  },
  "hsl": {
    "h": 333.231,
    "s": 63.725,
    "l": 40
  },
  "oklch": {
    "l": 0.49228,
    "c": 0.17133,
    "h": 358.9
  },
  "luminance": 0.10365
}

Semantic roles & 50–950 ramp

primary
#A7255F
secondary
#64C499
accent
#E79D41
background
#FCF7F8
surface
#F9EDF0
border
#D2C8CB
text
#14080C
muted
#827B7D

Preview Lab

Preview with #A7255F

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

Preview Lab → · Contrast checker → · Palette generator →

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