#AF2694#AF2694

#AF2694 is a mid, highly saturated pink. Relative luminance 0.126; OKLCH L 52.9% C 0.204 H 337.6°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#AF2694
RGBrgb(175, 38, 148)
HSLhsl(312, 64%, 42%)
HSVhsv(312, 78%, 69%)
CMYKcmyk(0%, 78.3%, 15.4%, 31.4%)
CIE-LABlab(42.22, 63.85, -28.60)
CIE-LCHlch(42.22, 69.97, 335.87°)
OKLaboklab(52.9% 0.1889 -0.0778)
OKLCHoklch(52.9% 0.204 337.6)
XYZxyz(23.7181, 12.6406, 29.2020)
Luminance0.1264 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2694 #26AF41
analogous
#8626AF #AF2694 #AF2650
triadic
#AF2694 #94AF26 #2694AF
tetradic
#AF2694 #AF8626 #26AF41 #2650AF
square
#AF2694 #AF8626 #26AF41 #2650AF
split-complementary
#AF2694 #50AF26 #26AF86
monochromatic
#4A103F #7D1B69 #AF2694 #D53DB7 #E070CA

Accessibility & contrast

On white

5.95
#AF2694 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#AF2694 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2694
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2694#FFFFFF#000000##FFFFFF
##AF26941.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5697
Deuteranopia (green-blind)
#5C6B91
Tritanopia (blue-blind)
#B92F5B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #af2694;
/* rgb */ color: rgb(175, 38, 148);
/* oklch */ color: oklch(52.9% 0.204 337.6);
Tailwind
colors: {
  custom: {
    50: '#cb70b3',
    500: '#af2694',
    950: '#000000',
  },
}
SCSS
$custom: #af2694;
$custom-light: #cb70b3;
$custom-dark: #000000;
JSON
{
  "hex": "#af2694",
  "rgb": {
    "r": 175,
    "g": 38,
    "b": 148
  },
  "hsl": {
    "h": 311.825,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.52902,
    "c": 0.20424,
    "h": 337.6
  },
  "luminance": 0.12638
}

Semantic roles & 50–950 ramp

primary
#AF2694
secondary
#6AC77C
accent
#E76140
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #AF2694

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

Preview Lab → · Contrast checker → · Palette generator →

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