#AF2B90#AF2B90

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

Color values

HEX#AF2B90
RGBrgb(175, 43, 144)
HSLhsl(314, 61%, 43%)
HSVhsv(314, 75%, 69%)
CMYKcmyk(0%, 75.4%, 17.7%, 31.4%)
CIE-LABlab(42.55, 61.80, -25.66)
CIE-LCHlch(42.55, 66.92, 337.45°)
OKLaboklab(53.08% 0.1839 -0.0694)
OKLCHoklch(53.08% 0.197 339.3)
XYZxyz(23.5777, 12.8576, 27.6202)
Luminance0.1285 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2B90 #2BAF4A
analogous
#8C2BAF #AF2B90 #AF2B4E
triadic
#AF2B90 #90AF2B #2B90AF
tetradic
#AF2B90 #AF8C2B #2BAF4A #2B4EAF
square
#AF2B90 #AF8C2B #2BAF4A #2B4EAF
split-complementary
#AF2B90 #4EAF2B #2BAF8C
monochromatic
#4D133F #7E1F68 #AF2B90 #D146B1 #DE77C5

Accessibility & contrast

On white

5.88
#AF2B90 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#AF2B90 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2B90
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2B90#FFFFFF#000000##FFFFFF
##AF2B901.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335793
Deuteranopia (green-blind)
#5F6C8D
Tritanopia (blue-blind)
#B9305B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #af2b90;
/* rgb */ color: rgb(175, 43, 144);
/* oklch */ color: oklch(53.1% 0.197 339.3);
Tailwind
colors: {
  custom: {
    50: '#cb72b1',
    500: '#af2b90',
    950: '#000000',
  },
}
SCSS
$custom: #af2b90;
$custom-light: #cb72b1;
$custom-dark: #000000;
JSON
{
  "hex": "#af2b90",
  "rgb": {
    "r": 175,
    "g": 43,
    "b": 144
  },
  "hsl": {
    "h": 314.091,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.53079,
    "c": 0.19658,
    "h": 339.3
  },
  "luminance": 0.12855
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF2B90

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

Preview Lab → · Contrast checker → · Palette generator →

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