#AF2D91#AF2D91

#AF2D91 is a mid, vivid pink. Relative luminance 0.130; OKLCH L 53.3% C 0.195 H 339.0°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#AF2D91
RGBrgb(175, 45, 145)
HSLhsl(314, 59%, 43%)
HSVhsv(314, 74%, 69%)
CMYKcmyk(0%, 74.3%, 17.1%, 31.4%)
CIE-LABlab(42.82, 61.30, -25.84)
CIE-LCHlch(42.82, 66.53, 337.14°)
OKLaboklab(53.29% 0.1821 -0.07)
OKLCHoklch(53.29% 0.195 339)
XYZxyz(23.7290, 13.0374, 28.0493)
Luminance0.1303 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2D91 #2DAF4B
analogous
#8C2DAF #AF2D91 #AF2D50
triadic
#AF2D91 #91AF2D #2D91AF
tetradic
#AF2D91 #AF8C2D #2DAF4B #2D50AF
square
#AF2D91 #AF8C2D #2DAF4B #2D50AF
split-complementary
#AF2D91 #50AF2D #2DAF8C
monochromatic
#4E1440 #7E2069 #AF2D91 #D049B1 #DD7AC6

Accessibility & contrast

On white

5.82
#AF2D91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#AF2D91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2D91
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2D91#FFFFFF#000000##FFFFFF
##AF2D911.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345894
Deuteranopia (green-blind)
#5F6C8E
Tritanopia (blue-blind)
#B9335C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #af2d91;
/* rgb */ color: rgb(175, 45, 145);
/* oklch */ color: oklch(53.3% 0.195 339.0);
Tailwind
colors: {
  custom: {
    50: '#cb73b1',
    500: '#af2d91',
    950: '#000000',
  },
}
SCSS
$custom: #af2d91;
$custom-light: #cb73b1;
$custom-dark: #000000;
JSON
{
  "hex": "#af2d91",
  "rgb": {
    "r": 175,
    "g": 45,
    "b": 145
  },
  "hsl": {
    "h": 313.846,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.5329,
    "c": 0.19508,
    "h": 339
  },
  "luminance": 0.13035
}

Semantic roles & 50–950 ramp

primary
#AF2D91
secondary
#73C586
accent
#E26A46
background
#FCF7FA
surface
#F9EDF5
border
#D2C8CF
text
#140910
muted
#827B7F

Preview Lab

Preview with #AF2D91

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

Preview Lab → · Contrast checker → · Palette generator →

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