#A7254B#A7254B

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

Color values

HEX#A7254B
RGBrgb(167, 37, 75)
HSLhsl(342, 64%, 40%)
HSVhsv(342, 78%, 65%)
CMYKcmyk(0%, 77.8%, 55.1%, 34.5%)
CIE-LABlab(37.93, 53.98, 10.44)
CIE-LCHlch(37.93, 54.98, 10.95°)
OKLaboklab(48.63% 0.164 0.0265)
OKLCHoklch(48.63% 0.166 9.2)
XYZxyz(17.8696, 10.0492, 7.6540)
Luminance0.1005 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7254B #25A781
analogous
#A7258C #A7254B #A74025
triadic
#A7254B #4BA725 #254BA7
tetradic
#A7254B #8CA725 #25A781 #4025A7
square
#A7254B #8CA725 #25A781 #4025A7
split-complementary
#A7254B #25A740 #258CA7
monochromatic
#430F1E #751A34 #A7254B #D33764 #DE698B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A7254B#FFFFFF#000000##FFFFFF
##A7254B1.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)
#48494C
Deuteranopia (green-blind)
#696348
Tritanopia (blue-blind)
#B70035
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a7254b;
/* rgb */ color: rgb(167, 37, 75);
/* oklch */ color: oklch(48.6% 0.166 9.2);
Tailwind
colors: {
  custom: {
    50: '#c76c7d',
    500: '#a7254b',
    950: '#000000',
  },
}
SCSS
$custom: #a7254b;
$custom-light: #c76c7d;
$custom-dark: #000000;
JSON
{
  "hex": "#a7254b",
  "rgb": {
    "r": 167,
    "g": 37,
    "b": 75
  },
  "hsl": {
    "h": 342.462,
    "s": 63.725,
    "l": 40
  },
  "oklch": {
    "l": 0.4863,
    "c": 0.16616,
    "h": 9.2
  },
  "luminance": 0.10047
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A7254B

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

Preview Lab → · Contrast checker → · Palette generator →

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