#AF2B89#AF2B89

#AF2B89 is a mid, vivid pink. Relative luminance 0.126; OKLCH L 52.7% C 0.192 H 342.2°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#AF2B89
RGBrgb(175, 43, 137)
HSLhsl(317, 61%, 43%)
HSVhsv(317, 75%, 69%)
CMYKcmyk(0%, 75.4%, 21.7%, 31.4%)
CIE-LABlab(42.23, 60.85, -21.89)
CIE-LCHlch(42.23, 64.66, 340.21°)
OKLaboklab(52.75% 0.1829 -0.0588)
OKLCHoklch(52.75% 0.192 342.2)
XYZxyz(23.0592, 12.6502, 24.8894)
Luminance0.1265 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2B89 #2BAF51
analogous
#932BAF #AF2B89 #AF2B47
triadic
#AF2B89 #89AF2B #2B89AF
tetradic
#AF2B89 #AF932B #2BAF51 #2B47AF
square
#AF2B89 #AF932B #2BAF51 #2B47AF
split-complementary
#AF2B89 #47AF2B #2BAF93
monochromatic
#4D133C #7E1F63 #AF2B89 #D146A9 #DE77C0

Accessibility & contrast

On white

5.95
#AF2B89 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#AF2B89 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2B89
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2B89#FFFFFF#000000##FFFFFF
##AF2B891.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38568C
Deuteranopia (green-blind)
#626B86
Tritanopia (blue-blind)
#BA2D57
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #af2b89;
/* rgb */ color: rgb(175, 43, 137);
/* oklch */ color: oklch(52.7% 0.192 342.2);
Tailwind
colors: {
  custom: {
    50: '#cb72ab',
    500: '#af2b89',
    950: '#000000',
  },
}
SCSS
$custom: #af2b89;
$custom-light: #cb72ab;
$custom-dark: #000000;
JSON
{
  "hex": "#af2b89",
  "rgb": {
    "r": 175,
    "g": 43,
    "b": 137
  },
  "hsl": {
    "h": 317.273,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.52747,
    "c": 0.19209,
    "h": 342.2
  },
  "luminance": 0.12648
}

Semantic roles & 50–950 ramp

primary
#AF2B89
secondary
#70C589
accent
#E47244
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #AF2B89

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

Preview Lab → · Contrast checker → · Palette generator →

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