#A7245F#A7245F

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

Color values

HEX#A7245F
RGBrgb(167, 36, 95)
HSLhsl(333, 65%, 40%)
HSVhsv(333, 78%, 65%)
CMYKcmyk(0%, 78.4%, 43.1%, 34.5%)
CIE-LABlab(38.39, 56.04, -1.67)
CIE-LCHlch(38.39, 56.07, 358.29°)
OKLaboklab(49.15% 0.1723 -0.0037)
OKLCHoklch(49.15% 0.172 358.8)
XYZxyz(18.6342, 10.3059, 11.8322)
Luminance0.1030 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7245F #24A76C
analogous
#A724A1 #A7245F #A72A24
triadic
#A7245F #5FA724 #245FA7
tetradic
#A7245F #A1A724 #24A76C #2A24A7
square
#A7245F #A1A724 #24A76C #2A24A7
split-complementary
#A7245F #24A72A #24A1A7
monochromatic
#420E26 #751942 #A7245F #D3357C #DE679D

Accessibility & contrast

On white

6.86
#A7245F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A7245F
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7245F#FFFFFF#000000##FFFFFF
##A7245F1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424B60
Deuteranopia (green-blind)
#65635C
Tritanopia (blue-blind)
#B50A3E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a7245f;
/* rgb */ color: rgb(167, 36, 95);
/* oklch */ color: oklch(49.1% 0.172 358.8);
Tailwind
colors: {
  custom: {
    50: '#c66d8c',
    500: '#a7245f',
    950: '#000000',
  },
}
SCSS
$custom: #a7245f;
$custom-light: #c66d8c;
$custom-dark: #000000;
JSON
{
  "hex": "#a7245f",
  "rgb": {
    "r": 167,
    "g": 36,
    "b": 95
  },
  "hsl": {
    "h": 332.977,
    "s": 64.532,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49149,
    "c": 0.17231,
    "h": 358.8
  },
  "luminance": 0.10303
}

Semantic roles & 50–950 ramp

primary
#A7245F
secondary
#63C498
accent
#E89C40
background
#FCF6F8
surface
#F9ECF0
border
#D2C7CB
text
#14080C
muted
#827A7D

Preview Lab

Preview with #A7245F

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

Preview Lab → · Contrast checker → · Palette generator →

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