#AF269B#AF269B

#AF269B is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.3% C 0.209 H 335.0°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#AF269B
RGBrgb(175, 38, 155)
HSLhsl(309, 64%, 42%)
HSVhsv(309, 78%, 69%)
CMYKcmyk(0%, 78.3%, 11.4%, 31.4%)
CIE-LABlab(42.57, 64.86, -32.29)
CIE-LCHlch(42.57, 72.45, 333.54°)
OKLaboklab(53.27% 0.1894 -0.0883)
OKLCHoklch(53.27% 0.209 335)
XYZxyz(24.2890, 12.8690, 32.2087)
Luminance0.1287 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF269B #26AF3A
analogous
#7F26AF #AF269B #AF2657
triadic
#AF269B #9BAF26 #269BAF
tetradic
#AF269B #AF7F26 #26AF3A #2657AF
square
#AF269B #AF7F26 #26AF3A #2657AF
split-complementary
#AF269B #57AF26 #26AF7F
monochromatic
#4A1042 #7D1B6E #AF269B #D53DBF #E070CF

Accessibility & contrast

On white

5.88
#AF269B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#AF269B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF269B
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF269B#FFFFFF#000000##FFFFFF
##AF269B1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25589E
Deuteranopia (green-blind)
#596C98
Tritanopia (blue-blind)
#B8335F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #af269b;
/* rgb */ color: rgb(175, 38, 155);
/* oklch */ color: oklch(53.3% 0.209 335.0);
Tailwind
colors: {
  custom: {
    50: '#cb71b9',
    500: '#af269b',
    950: '#000000',
  },
}
SCSS
$custom: #af269b;
$custom-light: #cb71b9;
$custom-dark: #000000;
JSON
{
  "hex": "#af269b",
  "rgb": {
    "r": 175,
    "g": 38,
    "b": 155
  },
  "hsl": {
    "h": 308.759,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.53266,
    "c": 0.20897,
    "h": 335
  },
  "luminance": 0.12867
}

Semantic roles & 50–950 ramp

primary
#AF269B
secondary
#6AC778
accent
#E75940
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #AF269B

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

Preview Lab → · Contrast checker → · Palette generator →

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