#AF2CAD#AF2CAD

#AF2CAD is a mid, highly saturated purple. Relative luminance 0.139; OKLCH L 54.7% C 0.216 H 328.7°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#AF2CAD
RGBrgb(175, 44, 173)
HSLhsl(301, 60%, 43%)
HSVhsv(301, 75%, 69%)
CMYKcmyk(0%, 74.9%, 1.1%, 31.4%)
CIE-LABlab(44.14, 65.86, -40.55)
CIE-LCHlch(44.14, 77.35, 328.38°)
OKLaboklab(54.7% 0.1847 -0.1123)
OKLCHoklch(54.7% 0.216 328.7)
XYZxyz(26.1224, 13.9344, 40.8408)
Luminance0.1393 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2CAD #2CAF2E
analogous
#6F2CAF #AF2CAD #AF2C6B
triadic
#AF2CAD #ADAF2C #2CADAF
tetradic
#AF2CAD #AF6F2C #2CAF2E #2C6BAF
square
#AF2CAD #AF6F2C #2CAF2E #2C6BAF
split-complementary
#AF2CAD #6BAF2C #2CAF6F
monochromatic
#4D134C #7E207D #AF2CAD #D147CF #DD78DC

Accessibility & contrast

On white

5.55
#AF2CAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#AF2CAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2CAD
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2CAD#FFFFFF#000000##FFFFFF
##AF2CAD1.005.553.795.55
#FFFFFF5.551.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#125DB0
Deuteranopia (green-blind)
#526EAA
Tritanopia (blue-blind)
#B5406B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #af2cad;
/* rgb */ color: rgb(175, 44, 173);
/* oklch */ color: oklch(54.7% 0.216 328.7);
Tailwind
colors: {
  custom: {
    50: '#cb74c6',
    500: '#af2cad',
    950: '#000000',
  },
}
SCSS
$custom: #af2cad;
$custom-light: #cb74c6;
$custom-dark: #000000;
JSON
{
  "hex": "#af2cad",
  "rgb": {
    "r": 175,
    "g": 44,
    "b": 173
  },
  "hsl": {
    "h": 300.916,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.54702,
    "c": 0.21617,
    "h": 328.7
  },
  "luminance": 0.13932
}

Semantic roles & 50–950 ramp

primary
#AF2CAD
secondary
#72C573
accent
#E34745
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AF2CAD

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

Preview Lab → · Contrast checker → · Palette generator →

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