#AF2697#AF2697

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

Color values

HEX#AF2697
RGBrgb(175, 38, 151)
HSLhsl(311, 64%, 42%)
HSVhsv(311, 78%, 69%)
CMYKcmyk(0%, 78.3%, 13.7%, 31.4%)
CIE-LABlab(42.36, 64.28, -30.19)
CIE-LCHlch(42.36, 71.02, 334.84°)
OKLaboklab(53.06% 0.1891 -0.0823)
OKLCHoklch(53.06% 0.206 336.5)
XYZxyz(23.9587, 12.7368, 30.4688)
Luminance0.1273 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2697 #26AF3E
analogous
#8326AF #AF2697 #AF2653
triadic
#AF2697 #97AF26 #2697AF
tetradic
#AF2697 #AF8326 #26AF3E #2653AF
square
#AF2697 #AF8326 #26AF3E #2653AF
split-complementary
#AF2697 #53AF26 #26AF83
monochromatic
#4A1040 #7D1B6C #AF2697 #D53DBA #E070CC

Accessibility & contrast

On white

5.92
#AF2697 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#AF2697 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2697
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2697#FFFFFF#000000##FFFFFF
##AF26971.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29579A
Deuteranopia (green-blind)
#5B6B94
Tritanopia (blue-blind)
#B8305D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #af2697;
/* rgb */ color: rgb(175, 38, 151);
/* oklch */ color: oklch(53.1% 0.206 336.5);
Tailwind
colors: {
  custom: {
    50: '#cb70b6',
    500: '#af2697',
    950: '#000000',
  },
}
SCSS
$custom: #af2697;
$custom-light: #cb70b6;
$custom-dark: #000000;
JSON
{
  "hex": "#af2697",
  "rgb": {
    "r": 175,
    "g": 38,
    "b": 151
  },
  "hsl": {
    "h": 310.511,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.53056,
    "c": 0.20625,
    "h": 336.5
  },
  "luminance": 0.12735
}

Semantic roles & 50–950 ramp

primary
#AF2697
secondary
#6AC77A
accent
#E75E40
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #AF2697

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

Preview Lab → · Contrast checker → · Palette generator →

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