#AF2692#AF2692

#AF2692 is a mid, highly saturated pink. Relative luminance 0.126; OKLCH L 52.8% C 0.203 H 338.4°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#AF2692
RGBrgb(175, 38, 146)
HSLhsl(313, 64%, 42%)
HSVhsv(313, 78%, 69%)
CMYKcmyk(0%, 78.3%, 16.6%, 31.4%)
CIE-LABlab(42.12, 63.57, -27.54)
CIE-LCHlch(42.12, 69.28, 336.58°)
OKLaboklab(52.8% 0.1887 -0.0747)
OKLCHoklch(52.8% 0.203 338.4)
XYZxyz(23.5612, 12.5778, 28.3755)
Luminance0.1258 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2692 #26AF43
analogous
#8826AF #AF2692 #AF264E
triadic
#AF2692 #92AF26 #2692AF
tetradic
#AF2692 #AF8826 #26AF43 #264EAF
square
#AF2692 #AF8826 #26AF43 #264EAF
split-complementary
#AF2692 #4EAF26 #26AF88
monochromatic
#4A103E #7D1B68 #AF2692 #D53DB5 #E070C8

Accessibility & contrast

On white

5.97
#AF2692 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#AF2692 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2692
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2692#FFFFFF#000000##FFFFFF
##AF26921.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5695
Deuteranopia (green-blind)
#5D6B8F
Tritanopia (blue-blind)
#B92E5A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #af2692;
/* rgb */ color: rgb(175, 38, 146);
/* oklch */ color: oklch(52.8% 0.203 338.4);
Tailwind
colors: {
  custom: {
    50: '#cb70b2',
    500: '#af2692',
    950: '#000000',
  },
}
SCSS
$custom: #af2692;
$custom-light: #cb70b2;
$custom-dark: #000000;
JSON
{
  "hex": "#af2692",
  "rgb": {
    "r": 175,
    "g": 38,
    "b": 146
  },
  "hsl": {
    "h": 312.701,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.52801,
    "c": 0.20292,
    "h": 338.4
  },
  "luminance": 0.12576
}

Semantic roles & 50–950 ramp

primary
#AF2692
secondary
#6AC77E
accent
#E76440
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #AF2692

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

Preview Lab → · Contrast checker → · Palette generator →

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