#AF2183#AF2183

#AF2183 is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.7% C 0.198 H 344.2°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#AF2183
RGBrgb(175, 33, 131)
HSLhsl(319, 68%, 41%)
HSVhsv(319, 81%, 69%)
CMYKcmyk(0%, 81.1%, 25.1%, 31.4%)
CIE-LABlab(40.97, 62.94, -20.16)
CIE-LCHlch(40.97, 66.09, 342.24°)
OKLaboklab(51.75% 0.1907 -0.0538)
OKLCHoklch(51.75% 0.198 344.2)
XYZxyz(22.3207, 11.8429, 22.5788)
Luminance0.1184 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2183 #21AF4D
analogous
#9421AF #AF2183 #AF213C
triadic
#AF2183 #83AF21 #2183AF
tetradic
#AF2183 #AF9421 #21AF4D #213CAF
square
#AF2183 #AF9421 #21AF4D #213CAF
split-complementary
#AF2183 #3CAF21 #21AF94
monochromatic
#480E36 #7C175C #AF2183 #D934A6 #E368BD

Accessibility & contrast

On white

6.24
#AF2183 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#AF2183 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2183
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2183#FFFFFF#000000##FFFFFF
##AF21831.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345285
Deuteranopia (green-blind)
#616980
Tritanopia (blue-blind)
#BB1F51
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #af2183;
/* rgb */ color: rgb(175, 33, 131);
/* oklch */ color: oklch(51.7% 0.198 344.2);
Tailwind
colors: {
  custom: {
    50: '#cb6ea7',
    500: '#af2183',
    950: '#000000',
  },
}
SCSS
$custom: #af2183;
$custom-light: #cb6ea7;
$custom-dark: #000000;
JSON
{
  "hex": "#af2183",
  "rgb": {
    "r": 175,
    "g": 33,
    "b": 131
  },
  "hsl": {
    "h": 318.592,
    "s": 68.269,
    "l": 40.784
  },
  "oklch": {
    "l": 0.51745,
    "c": 0.19818,
    "h": 344.2
  },
  "luminance": 0.1184
}

Semantic roles & 50–950 ramp

primary
#AF2183
secondary
#64C883
accent
#EB733D
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14080F
muted
#837B7F

Preview Lab

Preview with #AF2183

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

Preview Lab → · Contrast checker → · Palette generator →

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