#AF296D#AF296D

#AF296D is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.4% C 0.179 H 354.7°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#AF296D
RGBrgb(175, 41, 109)
HSLhsl(330, 62%, 42%)
HSVhsv(330, 77%, 69%)
CMYKcmyk(0%, 76.6%, 37.7%, 31.4%)
CIE-LABlab(40.91, 58.10, -6.59)
CIE-LCHlch(40.91, 58.47, 353.52°)
OKLaboklab(51.42% 0.1784 -0.0167)
OKLCHoklch(51.42% 0.179 354.7)
XYZxyz(21.2339, 11.8066, 15.6258)
Luminance0.1180 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF296D #29AF6B
analogous
#AE29AF #AF296D #AF292A
triadic
#AF296D #6DAF29 #296DAF
tetradic
#AF296D #AFAE29 #29AF6B #292AAF
square
#AF296D #AFAE29 #29AF6B #292AAF
split-complementary
#AF296D #2AAF29 #29AFAE
monochromatic
#4C122F #7D1D4E #AF296D #D3428C #DE74AA

Accessibility & contrast

On white

6.25
#AF296D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#AF296D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF296D
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF296D#FFFFFF#000000##FFFFFF
##AF296D1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#44516F
Deuteranopia (green-blind)
#69696A
Tritanopia (blue-blind)
#BD1947
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af296d;
/* rgb */ color: rgb(175, 41, 109);
/* oklch */ color: oklch(51.4% 0.179 354.7);
Tailwind
colors: {
  custom: {
    50: '#cc7096',
    500: '#af296d',
    950: '#000000',
  },
}
SCSS
$custom: #af296d;
$custom-light: #cc7096;
$custom-dark: #000000;
JSON
{
  "hex": "#af296d",
  "rgb": {
    "r": 175,
    "g": 41,
    "b": 109
  },
  "hsl": {
    "h": 329.552,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.51422,
    "c": 0.17922,
    "h": 354.7
  },
  "luminance": 0.11804
}

Semantic roles & 50–950 ramp

primary
#AF296D
secondary
#6EC699
accent
#E59343
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14080D
muted
#837B7E

Preview Lab

Preview with #AF296D

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

Preview Lab → · Contrast checker → · Palette generator →

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