#AF2973#AF2973

#AF2973 is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.6% C 0.182 H 351.8°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#AF2973
RGBrgb(175, 41, 115)
HSLhsl(327, 62%, 42%)
HSVhsv(327, 77%, 69%)
CMYKcmyk(0%, 76.6%, 34.3%, 31.4%)
CIE-LABlab(41.12, 58.76, -10.02)
CIE-LCHlch(41.12, 59.61, 350.33°)
OKLaboklab(51.65% 0.1801 -0.0259)
OKLCHoklch(51.65% 0.182 351.8)
XYZxyz(21.5679, 11.9402, 17.3852)
Luminance0.1194 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2973 #29AF65
analogous
#A829AF #AF2973 #AF2930
triadic
#AF2973 #73AF29 #2973AF
tetradic
#AF2973 #AFA829 #29AF65 #2930AF
square
#AF2973 #AFA829 #29AF65 #2930AF
split-complementary
#AF2973 #30AF29 #29AFA8
monochromatic
#4C1232 #7D1D52 #AF2973 #D34292 #DE74AF

Accessibility & contrast

On white

6.20
#AF2973 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#AF2973 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2973
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2973#FFFFFF#000000##FFFFFF
##AF29731.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415275
Deuteranopia (green-blind)
#686A70
Tritanopia (blue-blind)
#BD1D4B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #af2973;
/* rgb */ color: rgb(175, 41, 115);
/* oklch */ color: oklch(51.6% 0.182 351.8);
Tailwind
colors: {
  custom: {
    50: '#cc709b',
    500: '#af2973',
    950: '#000000',
  },
}
SCSS
$custom: #af2973;
$custom-light: #cc709b;
$custom-dark: #000000;
JSON
{
  "hex": "#af2973",
  "rgb": {
    "r": 175,
    "g": 41,
    "b": 115
  },
  "hsl": {
    "h": 326.866,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.51649,
    "c": 0.18196,
    "h": 351.8
  },
  "luminance": 0.11938
}

Semantic roles & 50–950 ramp

primary
#AF2973
secondary
#6EC695
accent
#E58B43
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14080E
muted
#837B7E

Preview Lab

Preview with #AF2973

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

Preview Lab → · Contrast checker → · Palette generator →

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