#A7254E#A7254E

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

Color values

HEX#A7254E
RGBrgb(167, 37, 78)
HSLhsl(341, 64%, 40%)
HSVhsv(341, 78%, 65%)
CMYKcmyk(0%, 77.8%, 53.3%, 34.5%)
CIE-LABlab(38.01, 54.21, 8.63)
CIE-LCHlch(38.01, 54.90, 9.04°)
OKLaboklab(48.71% 0.1652 0.0222)
OKLCHoklch(48.71% 0.167 7.6)
XYZxyz(17.9747, 10.0912, 8.2076)
Luminance0.1009 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7254E #25A77E
analogous
#A7258F #A7254E #A73D25
triadic
#A7254E #4EA725 #254EA7
tetradic
#A7254E #8FA725 #25A77E #3D25A7
square
#A7254E #8FA725 #25A77E #3D25A7
split-complementary
#A7254E #25A73D #258FA7
monochromatic
#430F1F #751A37 #A7254E #D33768 #DE698E

Accessibility & contrast

On white

6.96
#A7254E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A7254E
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7254E#FFFFFF#000000##FFFFFF
##A7254E1.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47494F
Deuteranopia (green-blind)
#69634B
Tritanopia (blue-blind)
#B60037
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a7254e;
/* rgb */ color: rgb(167, 37, 78);
/* oklch */ color: oklch(48.7% 0.167 7.6);
Tailwind
colors: {
  custom: {
    50: '#c76c7f',
    500: '#a7254e',
    950: '#000000',
  },
}
SCSS
$custom: #a7254e;
$custom-light: #c76c7f;
$custom-dark: #000000;
JSON
{
  "hex": "#a7254e",
  "rgb": {
    "r": 167,
    "g": 37,
    "b": 78
  },
  "hsl": {
    "h": 341.077,
    "s": 63.725,
    "l": 40
  },
  "oklch": {
    "l": 0.48709,
    "c": 0.16667,
    "h": 7.6
  },
  "luminance": 0.10089
}

Semantic roles & 50–950 ramp

primary
#A7254E
secondary
#64C4A6
accent
#E7B241
background
#FDF6F7
surface
#FAECEE
border
#D3C7C9
text
#14080A
muted
#837A7C

Preview Lab

Preview with #A7254E

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

Preview Lab → · Contrast checker → · Palette generator →

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