#AF25AC#AF25AC

#AF25AC is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 54.1% C 0.222 H 329.1°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#AF25AC
RGBrgb(175, 37, 172)
HSLhsl(301, 65%, 42%)
HSVhsv(301, 79%, 69%)
CMYKcmyk(0%, 78.9%, 1.7%, 31.4%)
CIE-LABlab(43.39, 67.71, -41.15)
CIE-LCHlch(43.39, 79.24, 328.71°)
OKLaboklab(54.15% 0.1905 -0.114)
OKLCHoklch(54.15% 0.222 329.1)
XYZxyz(25.7870, 13.4177, 40.2534)
Luminance0.1342 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF25AC #25AF28
analogous
#6D25AF #AF25AC #AF2567
triadic
#AF25AC #ACAF25 #25ACAF
tetradic
#AF25AC #AF6D25 #25AF28 #2567AF
square
#AF25AC #AF6D25 #25AF28 #2567AF
split-complementary
#AF25AC #67AF25 #25AF6D
monochromatic
#4A1049 #7C1A7A #AF25AC #D63CD2 #E06EDE

Accessibility & contrast

On white

5.70
#AF25AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#AF25AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF25AC
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF25AC#FFFFFF#000000##FFFFFF
##AF25AC1.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#015BB0
Deuteranopia (green-blind)
#506DA9
Tritanopia (blue-blind)
#B53C69
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #af25ac;
/* rgb */ color: rgb(175, 37, 172);
/* oklch */ color: oklch(54.1% 0.222 329.1);
Tailwind
colors: {
  custom: {
    50: '#cb71c5',
    500: '#af25ac',
    950: '#000000',
  },
}
SCSS
$custom: #af25ac;
$custom-light: #cb71c5;
$custom-dark: #000000;
JSON
{
  "hex": "#af25ac",
  "rgb": {
    "r": 175,
    "g": 37,
    "b": 172
  },
  "hsl": {
    "h": 301.304,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.54148,
    "c": 0.22196,
    "h": 329.1
  },
  "luminance": 0.13416
}

Semantic roles & 50–950 ramp

primary
#AF25AC
secondary
#69C76B
accent
#E84340
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #AF25AC

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

Preview Lab → · Contrast checker → · Palette generator →

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