#A7297C#A7297C

#A7297C is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.7% C 0.181 H 345.2°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#A7297C
RGBrgb(167, 41, 124)
HSLhsl(320, 61%, 41%)
HSVhsv(320, 75%, 65%)
CMYKcmyk(0%, 75.4%, 25.7%, 34.5%)
CIE-LABlab(40.01, 57.77, -17.43)
CIE-LCHlch(40.01, 60.35, 343.21°)
OKLaboklab(50.69% 0.175 -0.0463)
OKLCHoklch(50.69% 0.181 345.2)
XYZxyz(20.3682, 11.2588, 20.1654)
Luminance0.1126 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7297C #29A754
analogous
#9329A7 #A7297C #A7293D
triadic
#A7297C #7CA729 #297CA7
tetradic
#A7297C #A79329 #29A754 #293DA7
square
#A7297C #A79329 #29A754 #293DA7
split-complementary
#A7297C #3DA729 #29A793
monochromatic
#451133 #761D58 #A7297C #D03E9E #DC6FB6

Accessibility & contrast

On white

6.46
#A7297C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#A7297C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A7297C
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7297C#FFFFFF#000000##FFFFFF
##A7297C1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39517E
Deuteranopia (green-blind)
#5F6679
Tritanopia (blue-blind)
#B2274F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a7297c;
/* rgb */ color: rgb(167, 41, 124);
/* oklch */ color: oklch(50.7% 0.181 345.2);
Tailwind
colors: {
  custom: {
    50: '#c56fa2',
    500: '#a7297c',
    950: '#000000',
  },
}
SCSS
$custom: #a7297c;
$custom-light: #c56fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#a7297c",
  "rgb": {
    "r": 167,
    "g": 41,
    "b": 124
  },
  "hsl": {
    "h": 320.476,
    "s": 60.577,
    "l": 40.784
  },
  "oklch": {
    "l": 0.50687,
    "c": 0.18107,
    "h": 345.2
  },
  "luminance": 0.11257
}

Semantic roles & 50–950 ramp

primary
#A7297C
secondary
#69C288
accent
#E47B44
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#13080F
muted
#827B7E

Preview Lab

Preview with #A7297C

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

Preview Lab → · Contrast checker → · Palette generator →

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