#AF2CA0#AF2CA0

#AF2CA0 is a mid, highly saturated purple. Relative luminance 0.135; OKLCH L 54.0% C 0.207 H 333.2°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#AF2CA0
RGBrgb(175, 44, 160)
HSLhsl(307, 60%, 43%)
HSVhsv(307, 75%, 69%)
CMYKcmyk(0%, 74.9%, 8.6%, 31.4%)
CIE-LABlab(43.44, 63.83, -33.91)
CIE-LCHlch(43.44, 72.27, 332.02°)
OKLaboklab(53.98% 0.1844 -0.093)
OKLCHoklch(53.98% 0.207 333.2)
XYZxyz(24.9252, 13.4555, 34.5353)
Luminance0.1345 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2CA0 #2CAF3B
analogous
#7C2CAF #AF2CA0 #AF2C5F
triadic
#AF2CA0 #A0AF2C #2CA0AF
tetradic
#AF2CA0 #AF7C2C #2CAF3B #2C5FAF
square
#AF2CA0 #AF7C2C #2CAF3B #2C5FAF
split-complementary
#AF2CA0 #5FAF2C #2CAF7C
monochromatic
#4D1347 #7E2073 #AF2CA0 #D147C1 #DD78D2

Accessibility & contrast

On white

5.69
#AF2CA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#AF2CA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2CA0
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2CA0#FFFFFF#000000##FFFFFF
##AF2CA01.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265BA3
Deuteranopia (green-blind)
#596D9D
Tritanopia (blue-blind)
#B73A64
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #af2ca0;
/* rgb */ color: rgb(175, 44, 160);
/* oklch */ color: oklch(54.0% 0.207 333.2);
Tailwind
colors: {
  custom: {
    50: '#cb73bc',
    500: '#af2ca0',
    950: '#000000',
  },
}
SCSS
$custom: #af2ca0;
$custom-light: #cb73bc;
$custom-dark: #000000;
JSON
{
  "hex": "#af2ca0",
  "rgb": {
    "r": 175,
    "g": 44,
    "b": 160
  },
  "hsl": {
    "h": 306.87,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.53978,
    "c": 0.20657,
    "h": 333.2
  },
  "luminance": 0.13453
}

Semantic roles & 50–950 ramp

primary
#AF2CA0
secondary
#72C57B
accent
#E35745
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AF2CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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