#A7254D#A7254D

#A7254D is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.7% C 0.166 H 8.2°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#A7254D
RGBrgb(167, 37, 77)
HSLhsl(342, 64%, 40%)
HSVhsv(342, 78%, 65%)
CMYKcmyk(0%, 77.8%, 53.9%, 34.5%)
CIE-LABlab(37.98, 54.13, 9.23)
CIE-LCHlch(37.98, 54.92, 9.68°)
OKLaboklab(48.68% 0.1648 0.0236)
OKLCHoklch(48.68% 0.166 8.2)
XYZxyz(17.9391, 10.0770, 8.0202)
Luminance0.1007 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7254D #25A77F
analogous
#A7258E #A7254D #A73E25
triadic
#A7254D #4DA725 #254DA7
tetradic
#A7254D #8EA725 #25A77F #3E25A7
square
#A7254D #8EA725 #25A77F #3E25A7
split-complementary
#A7254D #25A73E #258EA7
monochromatic
#430F1F #751A36 #A7254D #D33767 #DE698D

Accessibility & contrast

On white

6.97
#A7254D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#A7254D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A7254D
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7254D#FFFFFF#000000##FFFFFF
##A7254D1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47494E
Deuteranopia (green-blind)
#69634A
Tritanopia (blue-blind)
#B60036
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a7254d;
/* rgb */ color: rgb(167, 37, 77);
/* oklch */ color: oklch(48.7% 0.166 8.2);
Tailwind
colors: {
  custom: {
    50: '#c76c7e',
    500: '#a7254d',
    950: '#000000',
  },
}
SCSS
$custom: #a7254d;
$custom-light: #c76c7e;
$custom-dark: #000000;
JSON
{
  "hex": "#a7254d",
  "rgb": {
    "r": 167,
    "g": 37,
    "b": 77
  },
  "hsl": {
    "h": 341.538,
    "s": 63.725,
    "l": 40
  },
  "oklch": {
    "l": 0.48682,
    "c": 0.16649,
    "h": 8.2
  },
  "luminance": 0.10074
}

Semantic roles & 50–950 ramp

primary
#A7254D
secondary
#64C4A6
accent
#E7B441
background
#FDF6F7
surface
#FAECEE
border
#D3C7C9
text
#140809
muted
#837A7B

Preview Lab

Preview with #A7254D

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

Preview Lab → · Contrast checker → · Palette generator →

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