#AF2084#AF2084

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

Color values

HEX#AF2084
RGBrgb(175, 32, 132)
HSLhsl(318, 69%, 41%)
HSVhsv(318, 82%, 69%)
CMYKcmyk(0%, 81.7%, 24.6%, 31.4%)
CIE-LABlab(40.92, 63.32, -20.85)
CIE-LCHlch(40.92, 66.66, 341.78°)
OKLaboklab(51.73% 0.1917 -0.0558)
OKLCHoklch(51.73% 0.2 343.8)
XYZxyz(22.3615, 11.8154, 22.9283)
Luminance0.1181 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2084 #20AF4B
analogous
#9220AF #AF2084 #AF203C
triadic
#AF2084 #84AF20 #2084AF
tetradic
#AF2084 #AF9220 #20AF4B #203CAF
square
#AF2084 #AF9220 #20AF4B #203CAF
split-complementary
#AF2084 #3CAF20 #20AF92
monochromatic
#480D36 #7B175D #AF2084 #DA33A7 #E366BE

Accessibility & contrast

On white

6.25
#AF2084 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#AF2084 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2084
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2084#FFFFFF#000000##FFFFFF
##AF20841.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335287
Deuteranopia (green-blind)
#606981
Tritanopia (blue-blind)
#BB1F51
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af2084;
/* rgb */ color: rgb(175, 32, 132);
/* oklch */ color: oklch(51.7% 0.200 343.8);
Tailwind
colors: {
  custom: {
    50: '#cb6ea8',
    500: '#af2084',
    950: '#000000',
  },
}
SCSS
$custom: #af2084;
$custom-light: #cb6ea8;
$custom-dark: #000000;
JSON
{
  "hex": "#af2084",
  "rgb": {
    "r": 175,
    "g": 32,
    "b": 132
  },
  "hsl": {
    "h": 318.042,
    "s": 69.082,
    "l": 40.588
  },
  "oklch": {
    "l": 0.51728,
    "c": 0.19962,
    "h": 343.8
  },
  "luminance": 0.11813
}

Semantic roles & 50–950 ramp

primary
#AF2084
secondary
#62C881
accent
#EC713C
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14080F
muted
#837B7F

Preview Lab

Preview with #AF2084

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

Preview Lab → · Contrast checker → · Palette generator →

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