#A7245C#A7245C

#A7245C is a mid, vivid pink. Relative luminance 0.102; OKLCH L 49.0% C 0.171 H 0.3°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#A7245C
RGBrgb(167, 36, 92)
HSLhsl(334, 65%, 40%)
HSVhsv(334, 78%, 65%)
CMYKcmyk(0%, 78.4%, 44.9%, 34.5%)
CIE-LABlab(38.29, 55.75, 0.10)
CIE-LCHlch(38.29, 55.75, 0.10°)
OKLaboklab(49.05% 0.1713 0.0009)
OKLCHoklch(49.05% 0.171 0.3)
XYZxyz(18.5005, 10.2524, 11.1278)
Luminance0.1025 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7245C #24A76F
analogous
#A7249E #A7245C #A72D24
triadic
#A7245C #5CA724 #245CA7
tetradic
#A7245C #9EA724 #24A76F #2D24A7
square
#A7245C #9EA724 #24A76F #2D24A7
split-complementary
#A7245C #24A72D #249EA7
monochromatic
#420E25 #751940 #A7245C #D33579 #DE679A

Accessibility & contrast

On white

6.89
#A7245C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A7245C
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7245C#FFFFFF#000000##FFFFFF
##A7245C1.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434A5D
Deuteranopia (green-blind)
#666359
Tritanopia (blue-blind)
#B5063D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a7245c;
/* rgb */ color: rgb(167, 36, 92);
/* oklch */ color: oklch(49.0% 0.171 0.3);
Tailwind
colors: {
  custom: {
    50: '#c76c8a',
    500: '#a7245c',
    950: '#000000',
  },
}
SCSS
$custom: #a7245c;
$custom-light: #c76c8a;
$custom-dark: #000000;
JSON
{
  "hex": "#a7245c",
  "rgb": {
    "r": 167,
    "g": 36,
    "b": 92
  },
  "hsl": {
    "h": 334.351,
    "s": 64.532,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49049,
    "c": 0.17127,
    "h": 0.3
  },
  "luminance": 0.1025
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A7245C

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

Preview Lab → · Contrast checker → · Palette generator →

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