#AF2B91#AF2B91

#AF2B91 is a mid, vivid pink. Relative luminance 0.129; OKLCH L 53.1% C 0.197 H 338.9°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#AF2B91
RGBrgb(175, 43, 145)
HSLhsl(314, 61%, 43%)
HSVhsv(314, 75%, 69%)
CMYKcmyk(0%, 75.4%, 17.1%, 31.4%)
CIE-LABlab(42.59, 61.94, -26.20)
CIE-LCHlch(42.59, 67.25, 337.08°)
OKLaboklab(53.13% 0.184 -0.0709)
OKLCHoklch(53.13% 0.197 338.9)
XYZxyz(23.6545, 12.8883, 28.0245)
Luminance0.1289 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2B91 #2BAF49
analogous
#8B2BAF #AF2B91 #AF2B4F
triadic
#AF2B91 #91AF2B #2B91AF
tetradic
#AF2B91 #AF8B2B #2BAF49 #2B4FAF
square
#AF2B91 #AF8B2B #2BAF49 #2B4FAF
split-complementary
#AF2B91 #4FAF2B #2BAF8B
monochromatic
#4D1340 #7E1F68 #AF2B91 #D146B2 #DE77C6

Accessibility & contrast

On white

5.87
#AF2B91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#AF2B91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2B91
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2B91#FFFFFF#000000##FFFFFF
##AF2B911.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af2b91;
/* rgb */ color: rgb(175, 43, 145);
/* oklch */ color: oklch(53.1% 0.197 338.9);
Tailwind
colors: {
  custom: {
    50: '#cb72b1',
    500: '#af2b91',
    950: '#000000',
  },
}
SCSS
$custom: #af2b91;
$custom-light: #cb72b1;
$custom-dark: #000000;
JSON
{
  "hex": "#af2b91",
  "rgb": {
    "r": 175,
    "g": 43,
    "b": 145
  },
  "hsl": {
    "h": 313.636,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.53128,
    "c": 0.19723,
    "h": 338.9
  },
  "luminance": 0.12886
}

Semantic roles & 50–950 ramp

primary
#AF2B91
secondary
#70C584
accent
#E46844
background
#FCF7FA
surface
#F9EDF5
border
#D2C8CF
text
#140910
muted
#827B7F

Preview Lab

Preview with #AF2B91

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

Preview Lab → · Contrast checker → · Palette generator →

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