#AF2185#AF2185

#AF2185 is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.8% C 0.199 H 343.4°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#AF2185
RGBrgb(175, 33, 133)
HSLhsl(318, 68%, 41%)
HSVhsv(318, 81%, 69%)
CMYKcmyk(0%, 81.1%, 24%, 31.4%)
CIE-LABlab(41.05, 63.19, -21.26)
CIE-LCHlch(41.05, 66.67, 341.41°)
OKLaboklab(51.84% 0.1911 -0.0569)
OKLCHoklch(51.84% 0.199 343.4)
XYZxyz(22.4576, 11.8976, 23.2995)
Luminance0.1190 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2185 #21AF4B
analogous
#9221AF #AF2185 #AF213E
triadic
#AF2185 #85AF21 #2185AF
tetradic
#AF2185 #AF9221 #21AF4B #213EAF
square
#AF2185 #AF9221 #21AF4B #213EAF
split-complementary
#AF2185 #3EAF21 #21AF92
monochromatic
#480E37 #7C175E #AF2185 #D934A8 #E368BE

Accessibility & contrast

On white

6.21
#AF2185 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#AF2185 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2185
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2185#FFFFFF#000000##FFFFFF
##AF21851.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335288
Deuteranopia (green-blind)
#606982
Tritanopia (blue-blind)
#BB2152
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #af2185;
/* rgb */ color: rgb(175, 33, 133);
/* oklch */ color: oklch(51.8% 0.199 343.4);
Tailwind
colors: {
  custom: {
    50: '#cb6ea8',
    500: '#af2185',
    950: '#000000',
  },
}
SCSS
$custom: #af2185;
$custom-light: #cb6ea8;
$custom-dark: #000000;
JSON
{
  "hex": "#af2185",
  "rgb": {
    "r": 175,
    "g": 33,
    "b": 133
  },
  "hsl": {
    "h": 317.746,
    "s": 68.269,
    "l": 40.784
  },
  "oklch": {
    "l": 0.51837,
    "c": 0.19935,
    "h": 343.4
  },
  "luminance": 0.11895
}

Semantic roles & 50–950 ramp

primary
#AF2185
secondary
#64C881
accent
#EB703D
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14080F
muted
#837B7F

Preview Lab

Preview with #AF2185

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

Preview Lab → · Contrast checker → · Palette generator →

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