#A7254A#A7254A

#A7254A is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.6% C 0.166 H 9.7°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#A7254A
RGBrgb(167, 37, 74)
HSLhsl(343, 64%, 40%)
HSVhsv(343, 78%, 65%)
CMYKcmyk(0%, 77.8%, 55.7%, 34.5%)
CIE-LABlab(37.91, 53.90, 11.05)
CIE-LCHlch(37.91, 55.02, 11.58°)
OKLaboklab(48.6% 0.1636 0.028)
OKLCHoklch(48.6% 0.166 9.7)
XYZxyz(17.8357, 10.0356, 7.4751)
Luminance0.1003 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7254A #25A782
analogous
#A7258B #A7254A #A74125
triadic
#A7254A #4AA725 #254AA7
tetradic
#A7254A #8BA725 #25A782 #4125A7
square
#A7254A #8BA725 #25A782 #4125A7
split-complementary
#A7254A #25A741 #258BA7
monochromatic
#430F1E #751A34 #A7254A #D33763 #DE698A

Accessibility & contrast

On white

6.98
#A7254A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A7254A
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7254A#FFFFFF#000000##FFFFFF
##A7254A1.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48484B
Deuteranopia (green-blind)
#696347
Tritanopia (blue-blind)
#B70035
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a7254a;
/* rgb */ color: rgb(167, 37, 74);
/* oklch */ color: oklch(48.6% 0.166 9.7);
Tailwind
colors: {
  custom: {
    50: '#c86c7c',
    500: '#a7254a',
    950: '#000000',
  },
}
SCSS
$custom: #a7254a;
$custom-light: #c86c7c;
$custom-dark: #000000;
JSON
{
  "hex": "#a7254a",
  "rgb": {
    "r": 167,
    "g": 37,
    "b": 74
  },
  "hsl": {
    "h": 342.923,
    "s": 63.725,
    "l": 40
  },
  "oklch": {
    "l": 0.48604,
    "c": 0.16601,
    "h": 9.7
  },
  "luminance": 0.10033
}

Semantic roles & 50–950 ramp

primary
#A7254A
secondary
#64C4A8
accent
#E7B841
background
#FDF6F7
surface
#FAECEE
border
#D3C7C9
text
#140809
muted
#837A7B

Preview Lab

Preview with #A7254A

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

Preview Lab → · Contrast checker → · Palette generator →

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