#A7245A#A7245A

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

Color values

HEX#A7245A
RGBrgb(167, 36, 90)
HSLhsl(335, 65%, 40%)
HSVhsv(335, 78%, 65%)
CMYKcmyk(0%, 78.4%, 46.1%, 34.5%)
CIE-LABlab(38.23, 55.56, 1.28)
CIE-LCHlch(38.23, 55.58, 1.32°)
OKLaboklab(48.98% 0.1706 0.0039)
OKLCHoklch(48.98% 0.171 1.3)
XYZxyz(18.4142, 10.2179, 10.6735)
Luminance0.1022 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7245A #24A771
analogous
#A7249C #A7245A #A72F24
triadic
#A7245A #5AA724 #245AA7
tetradic
#A7245A #9CA724 #24A771 #2F24A7
square
#A7245A #9CA724 #24A771 #2F24A7
split-complementary
#A7245A #24A72F #249CA7
monochromatic
#420E24 #75193F #A7245A #D33576 #DE6798

Accessibility & contrast

On white

6.90
#A7245A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#A7245A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A7245A
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7245A#FFFFFF#000000##FFFFFF
##A7245A1.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434A5B
Deuteranopia (green-blind)
#666357
Tritanopia (blue-blind)
#B6043C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a7245a;
/* rgb */ color: rgb(167, 36, 90);
/* oklch */ color: oklch(49.0% 0.171 1.3);
Tailwind
colors: {
  custom: {
    50: '#c76c88',
    500: '#a7245a',
    950: '#000000',
  },
}
SCSS
$custom: #a7245a;
$custom-light: #c76c88;
$custom-dark: #000000;
JSON
{
  "hex": "#a7245a",
  "rgb": {
    "r": 167,
    "g": 36,
    "b": 90
  },
  "hsl": {
    "h": 335.267,
    "s": 64.532,
    "l": 39.804
  },
  "oklch": {
    "l": 0.48984,
    "c": 0.17064,
    "h": 1.3
  },
  "luminance": 0.10215
}

Semantic roles & 50–950 ramp

primary
#A7245A
secondary
#63C49C
accent
#E8A340
background
#FCF6F8
surface
#F9ECEF
border
#D2C7CA
text
#14080B
muted
#827A7C

Preview Lab

Preview with #A7245A

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

Preview Lab → · Contrast checker → · Palette generator →

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