#AF2696#AF2696

#AF2696 is a mid, highly saturated pink. Relative luminance 0.127; OKLCH L 53.0% C 0.206 H 336.9°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#AF2696
RGBrgb(175, 38, 150)
HSLhsl(311, 64%, 42%)
HSVhsv(311, 78%, 69%)
CMYKcmyk(0%, 78.3%, 14.3%, 31.4%)
CIE-LABlab(42.31, 64.14, -29.66)
CIE-LCHlch(42.31, 70.66, 335.18°)
OKLaboklab(53% 0.189 -0.0808)
OKLCHoklch(53% 0.206 336.9)
XYZxyz(23.8778, 12.7045, 30.0429)
Luminance0.1270 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2696 #26AF3F
analogous
#8426AF #AF2696 #AF2652
triadic
#AF2696 #96AF26 #2696AF
tetradic
#AF2696 #AF8426 #26AF3F #2652AF
square
#AF2696 #AF8426 #26AF3F #2652AF
split-complementary
#AF2696 #52AF26 #26AF84
monochromatic
#4A1040 #7D1B6B #AF2696 #D53DB9 #E070CB

Accessibility & contrast

On white

5.93
#AF2696 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#AF2696 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2696
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2696#FFFFFF#000000##FFFFFF
##AF26961.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5799
Deuteranopia (green-blind)
#5B6B93
Tritanopia (blue-blind)
#B8305C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #af2696;
/* rgb */ color: rgb(175, 38, 150);
/* oklch */ color: oklch(53.0% 0.206 336.9);
Tailwind
colors: {
  custom: {
    50: '#cb70b5',
    500: '#af2696',
    950: '#000000',
  },
}
SCSS
$custom: #af2696;
$custom-light: #cb70b5;
$custom-dark: #000000;
JSON
{
  "hex": "#af2696",
  "rgb": {
    "r": 175,
    "g": 38,
    "b": 150
  },
  "hsl": {
    "h": 310.949,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.53004,
    "c": 0.20557,
    "h": 336.9
  },
  "luminance": 0.12702
}

Semantic roles & 50–950 ramp

primary
#AF2696
secondary
#6AC77B
accent
#E75F40
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #AF2696

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

Preview Lab → · Contrast checker → · Palette generator →

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