#AF2693#AF2693

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

Color values

HEX#AF2693
RGBrgb(175, 38, 147)
HSLhsl(312, 64%, 42%)
HSVhsv(312, 78%, 69%)
CMYKcmyk(0%, 78.3%, 16%, 31.4%)
CIE-LABlab(42.17, 63.71, -28.07)
CIE-LCHlch(42.17, 69.62, 336.22°)
OKLaboklab(52.85% 0.1888 -0.0763)
OKLCHoklch(52.85% 0.204 338)
XYZxyz(23.6393, 12.6091, 28.7869)
Luminance0.1261 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2693 #26AF42
analogous
#8726AF #AF2693 #AF264F
triadic
#AF2693 #93AF26 #2693AF
tetradic
#AF2693 #AF8726 #26AF42 #264FAF
square
#AF2693 #AF8726 #26AF42 #264FAF
split-complementary
#AF2693 #4FAF26 #26AF87
monochromatic
#4A103F #7D1B69 #AF2693 #D53DB6 #E070C9

Accessibility & contrast

On white

5.96
#AF2693 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF2693
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2693#FFFFFF#000000##FFFFFF
##AF26931.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5696
Deuteranopia (green-blind)
#5C6B90
Tritanopia (blue-blind)
#B92E5B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #af2693;
/* rgb */ color: rgb(175, 38, 147);
/* oklch */ color: oklch(52.9% 0.204 338.0);
Tailwind
colors: {
  custom: {
    50: '#cb70b3',
    500: '#af2693',
    950: '#000000',
  },
}
SCSS
$custom: #af2693;
$custom-light: #cb70b3;
$custom-dark: #000000;
JSON
{
  "hex": "#af2693",
  "rgb": {
    "r": 175,
    "g": 38,
    "b": 147
  },
  "hsl": {
    "h": 312.263,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.52852,
    "c": 0.20358,
    "h": 338
  },
  "luminance": 0.12607
}

Semantic roles & 50–950 ramp

primary
#AF2693
secondary
#6AC77D
accent
#E76340
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #AF2693

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

Preview Lab → · Contrast checker → · Palette generator →

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