#A7254F#A7254F

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

Color values

HEX#A7254F
RGBrgb(167, 37, 79)
HSLhsl(341, 64%, 40%)
HSVhsv(341, 78%, 65%)
CMYKcmyk(0%, 77.8%, 52.7%, 34.5%)
CIE-LABlab(38.03, 54.30, 8.02)
CIE-LCHlch(38.03, 54.88, 8.41°)
OKLaboklab(48.74% 0.1656 0.0207)
OKLCHoklch(48.74% 0.167 7.1)
XYZxyz(18.0108, 10.1057, 8.3978)
Luminance0.1010 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7254F #25A77D
analogous
#A72590 #A7254F #A73C25
triadic
#A7254F #4FA725 #254FA7
tetradic
#A7254F #90A725 #25A77D #3C25A7
square
#A7254F #90A725 #25A77D #3C25A7
split-complementary
#A7254F #25A73C #2590A7
monochromatic
#430F20 #751A37 #A7254F #D33769 #DE698F

Accessibility & contrast

On white

6.95
#A7254F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#A7254F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A7254F
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7254F#FFFFFF#000000##FFFFFF
##A7254F1.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474950
Deuteranopia (green-blind)
#69634C
Tritanopia (blue-blind)
#B60037
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a7254f;
/* rgb */ color: rgb(167, 37, 79);
/* oklch */ color: oklch(48.7% 0.167 7.1);
Tailwind
colors: {
  custom: {
    50: '#c76c80',
    500: '#a7254f',
    950: '#000000',
  },
}
SCSS
$custom: #a7254f;
$custom-light: #c76c80;
$custom-dark: #000000;
JSON
{
  "hex": "#a7254f",
  "rgb": {
    "r": 167,
    "g": 37,
    "b": 79
  },
  "hsl": {
    "h": 340.615,
    "s": 63.725,
    "l": 40
  },
  "oklch": {
    "l": 0.48737,
    "c": 0.16686,
    "h": 7.1
  },
  "luminance": 0.10103
}

Semantic roles & 50–950 ramp

primary
#A7254F
secondary
#64C4A5
accent
#E7B141
background
#FDF6F7
surface
#FAECEE
border
#D3C7C9
text
#14080A
muted
#837A7C

Preview Lab

Preview with #A7254F

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

Preview Lab → · Contrast checker → · Palette generator →

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