#AF3796#AF3796

#AF3796 is a mid, vivid pink. Relative luminance 0.140; OKLCH L 54.4% C 0.187 H 337.3°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#AF3796
RGBrgb(175, 55, 150)
HSLhsl(313, 52%, 45%)
HSVhsv(313, 69%, 69%)
CMYKcmyk(0%, 68.6%, 14.3%, 31.4%)
CIE-LABlab(44.31, 58.49, -26.55)
CIE-LCHlch(44.31, 64.24, 335.58°)
OKLaboklab(54.44% 0.1722 -0.0721)
OKLCHoklch(54.44% 0.187 337.3)
XYZxyz(24.5508, 14.0505, 30.2673)
Luminance0.1405 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3796 #37AF50
analogous
#8C37AF #AF3796 #AF375A
triadic
#AF3796 #96AF37 #3796AF
tetradic
#AF3796 #AF8C37 #37AF50 #375AAF
square
#AF3796 #AF8C37 #37AF50 #375AAF
split-complementary
#AF3796 #5AAF37 #37AF8C
monochromatic
#521A46 #80286E #AF3796 #CB59B3 #D987C8

Accessibility & contrast

On white

5.51
#AF3796 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#AF3796 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3796
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3796#FFFFFF#000000##FFFFFF
##AF37961.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5D99
Deuteranopia (green-blind)
#616F93
Tritanopia (blue-blind)
#B83D62
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #af3796;
/* rgb */ color: rgb(175, 55, 150);
/* oklch */ color: oklch(54.4% 0.187 337.3);
Tailwind
colors: {
  custom: {
    50: '#ca78b5',
    500: '#af3796',
    950: '#000000',
  },
}
SCSS
$custom: #af3796;
$custom-light: #ca78b5;
$custom-dark: #000000;
JSON
{
  "hex": "#af3796",
  "rgb": {
    "r": 175,
    "g": 55,
    "b": 150
  },
  "hsl": {
    "h": 312.5,
    "s": 52.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.54443,
    "c": 0.18664,
    "h": 337.3
  },
  "luminance": 0.14048
}

Semantic roles & 50–950 ramp

primary
#AF3796
secondary
#7FC38D
accent
#DC6A4C
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AF3796

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

Preview Lab → · Contrast checker → · Palette generator →

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