#A7245D#A7245D

#A7245D is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.1% C 0.172 H 359.8°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#A7245D
RGBrgb(167, 36, 93)
HSLhsl(334, 65%, 40%)
HSVhsv(334, 78%, 65%)
CMYKcmyk(0%, 78.4%, 44.3%, 34.5%)
CIE-LABlab(38.32, 55.85, -0.49)
CIE-LCHlch(38.32, 55.85, 359.49°)
OKLaboklab(49.08% 0.1716 -0.0006)
OKLCHoklch(49.08% 0.172 359.8)
XYZxyz(18.5445, 10.2700, 11.3596)
Luminance0.1027 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7245D #24A76E
analogous
#A7249F #A7245D #A72C24
triadic
#A7245D #5DA724 #245DA7
tetradic
#A7245D #9FA724 #24A76E #2C24A7
square
#A7245D #9FA724 #24A76E #2C24A7
split-complementary
#A7245D #24A72C #249FA7
monochromatic
#420E25 #751941 #A7245D #D3357A #DE679B

Accessibility & contrast

On white

6.88
#A7245D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#A7245D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A7245D
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7245D#FFFFFF#000000##FFFFFF
##A7245D1.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424A5E
Deuteranopia (green-blind)
#66635A
Tritanopia (blue-blind)
#B5083D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a7245d;
/* rgb */ color: rgb(167, 36, 93);
/* oklch */ color: oklch(49.1% 0.172 359.8);
Tailwind
colors: {
  custom: {
    50: '#c76c8a',
    500: '#a7245d',
    950: '#000000',
  },
}
SCSS
$custom: #a7245d;
$custom-light: #c76c8a;
$custom-dark: #000000;
JSON
{
  "hex": "#a7245d",
  "rgb": {
    "r": 167,
    "g": 36,
    "b": 93
  },
  "hsl": {
    "h": 333.893,
    "s": 64.532,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49082,
    "c": 0.17161,
    "h": 359.8
  },
  "luminance": 0.10268
}

Semantic roles & 50–950 ramp

primary
#A7245D
secondary
#63C49A
accent
#E89F40
background
#FCF6F8
surface
#F9ECF0
border
#D2C7CB
text
#14080B
muted
#827A7C

Preview Lab

Preview with #A7245D

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

Preview Lab → · Contrast checker → · Palette generator →

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