#AF2982#AF2982

#AF2982 is a mid, vivid pink. Relative luminance 0.123; OKLCH L 52.3% C 0.190 H 345.1°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#AF2982
RGBrgb(175, 41, 130)
HSLhsl(320, 62%, 42%)
HSVhsv(320, 77%, 69%)
CMYKcmyk(0%, 76.6%, 25.7%, 31.4%)
CIE-LABlab(41.71, 60.56, -18.40)
CIE-LCHlch(41.71, 63.29, 343.10°)
OKLaboklab(52.27% 0.1836 -0.049)
OKLCHoklch(52.27% 0.19 345.1)
XYZxyz(22.5024, 12.3140, 22.3066)
Luminance0.1231 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2982 #29AF56
analogous
#9929AF #AF2982 #AF293F
triadic
#AF2982 #82AF29 #2982AF
tetradic
#AF2982 #AF9929 #29AF56 #293FAF
square
#AF2982 #AF9929 #29AF56 #293FAF
split-complementary
#AF2982 #3FAF29 #29AF99
monochromatic
#4C1238 #7D1D5D #AF2982 #D342A2 #DE74BB

Accessibility & contrast

On white

6.07
#AF2982 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#AF2982 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2982
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2982#FFFFFF#000000##FFFFFF
##AF29821.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5484
Deuteranopia (green-blind)
#636A7F
Tritanopia (blue-blind)
#BB2752
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #af2982;
/* rgb */ color: rgb(175, 41, 130);
/* oklch */ color: oklch(52.3% 0.190 345.1);
Tailwind
colors: {
  custom: {
    50: '#cb71a6',
    500: '#af2982',
    950: '#000000',
  },
}
SCSS
$custom: #af2982;
$custom-light: #cb71a6;
$custom-dark: #000000;
JSON
{
  "hex": "#af2982",
  "rgb": {
    "r": 175,
    "g": 41,
    "b": 130
  },
  "hsl": {
    "h": 320.149,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.52271,
    "c": 0.18997,
    "h": 345.1
  },
  "luminance": 0.12312
}

Semantic roles & 50–950 ramp

primary
#AF2982
secondary
#6EC68B
accent
#E57943
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14090F
muted
#837B7F

Preview Lab

Preview with #AF2982

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

Preview Lab → · Contrast checker → · Palette generator →

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