#AF2B85#AF2B85

#AF2B85 is a mid, vivid pink. Relative luminance 0.125; OKLCH L 52.6% C 0.190 H 343.9°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#AF2B85
RGBrgb(175, 43, 133)
HSLhsl(319, 61%, 43%)
HSVhsv(319, 75%, 69%)
CMYKcmyk(0%, 75.4%, 24%, 31.4%)
CIE-LABlab(42.06, 60.32, -19.71)
CIE-LCHlch(42.06, 63.46, 341.91°)
OKLaboklab(52.57% 0.1822 -0.0526)
OKLCHoklch(52.57% 0.19 343.9)
XYZxyz(22.7776, 12.5376, 23.4062)
Luminance0.1253 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2B85 #2BAF55
analogous
#972BAF #AF2B85 #AF2B43
triadic
#AF2B85 #85AF2B #2B85AF
tetradic
#AF2B85 #AF972B #2BAF55 #2B43AF
square
#AF2B85 #AF972B #2BAF55 #2B43AF
split-complementary
#AF2B85 #43AF2B #2BAF97
monochromatic
#4D133A #7E1F60 #AF2B85 #D146A5 #DE77BD

Accessibility & contrast

On white

5.99
#AF2B85 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#AF2B85 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2B85
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2B85#FFFFFF#000000##FFFFFF
##AF2B851.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5587
Deuteranopia (green-blind)
#636B82
Tritanopia (blue-blind)
#BB2A55
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #af2b85;
/* rgb */ color: rgb(175, 43, 133);
/* oklch */ color: oklch(52.6% 0.190 343.9);
Tailwind
colors: {
  custom: {
    50: '#cb72a8',
    500: '#af2b85',
    950: '#000000',
  },
}
SCSS
$custom: #af2b85;
$custom-light: #cb72a8;
$custom-dark: #000000;
JSON
{
  "hex": "#af2b85",
  "rgb": {
    "r": 175,
    "g": 43,
    "b": 133
  },
  "hsl": {
    "h": 319.091,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.52565,
    "c": 0.18964,
    "h": 343.9
  },
  "luminance": 0.12535
}

Semantic roles & 50–950 ramp

primary
#AF2B85
secondary
#70C58B
accent
#E47744
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14090F
muted
#837B7F

Preview Lab

Preview with #AF2B85

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

Preview Lab → · Contrast checker → · Palette generator →

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