#A7245E#A7245E

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

Color values

HEX#A7245E
RGBrgb(167, 36, 94)
HSLhsl(333, 65%, 40%)
HSVhsv(333, 78%, 65%)
CMYKcmyk(0%, 78.4%, 43.7%, 34.5%)
CIE-LABlab(38.35, 55.95, -1.08)
CIE-LCHlch(38.35, 55.96, 358.89°)
OKLaboklab(49.11% 0.1719 -0.0022)
OKLCHoklch(49.11% 0.172 359.3)
XYZxyz(18.5890, 10.2878, 11.5944)
Luminance0.1028 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7245E #24A76D
analogous
#A724A0 #A7245E #A72B24
triadic
#A7245E #5EA724 #245EA7
tetradic
#A7245E #A0A724 #24A76D #2B24A7
square
#A7245E #A0A724 #24A76D #2B24A7
split-complementary
#A7245E #24A72B #24A0A7
monochromatic
#420E25 #751942 #A7245E #D3357B #DE679C

Accessibility & contrast

On white

6.87
#A7245E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#A7245E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A7245E
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7245E#FFFFFF#000000##FFFFFF
##A7245E1.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424A5F
Deuteranopia (green-blind)
#66635B
Tritanopia (blue-blind)
#B5093E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a7245e;
/* rgb */ color: rgb(167, 36, 94);
/* oklch */ color: oklch(49.1% 0.172 359.3);
Tailwind
colors: {
  custom: {
    50: '#c66c8b',
    500: '#a7245e',
    950: '#000000',
  },
}
SCSS
$custom: #a7245e;
$custom-light: #c66c8b;
$custom-dark: #000000;
JSON
{
  "hex": "#a7245e",
  "rgb": {
    "r": 167,
    "g": 36,
    "b": 94
  },
  "hsl": {
    "h": 333.435,
    "s": 64.532,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49115,
    "c": 0.17195,
    "h": 359.3
  },
  "luminance": 0.10285
}

Semantic roles & 50–950 ramp

primary
#A7245E
secondary
#63C499
accent
#E89D40
background
#FCF6F8
surface
#F9ECF0
border
#D2C7CB
text
#14080C
muted
#827A7D

Preview Lab

Preview with #A7245E

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

Preview Lab → · Contrast checker → · Palette generator →

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