#AF2783#AF2783

#AF2783 is a mid, vivid pink. Relative luminance 0.122; OKLCH L 52.2% C 0.193 H 344.5°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#AF2783
RGBrgb(175, 39, 131)
HSLhsl(319, 64%, 42%)
HSVhsv(319, 78%, 69%)
CMYKcmyk(0%, 77.7%, 25.1%, 31.4%)
CIE-LABlab(41.54, 61.29, -19.27)
CIE-LCHlch(41.54, 64.25, 342.54°)
OKLaboklab(52.16% 0.1856 -0.0514)
OKLCHoklch(52.16% 0.193 344.5)
XYZxyz(22.5024, 12.2062, 22.6393)
Luminance0.1220 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2783 #27AF53
analogous
#9727AF #AF2783 #AF273F
triadic
#AF2783 #83AF27 #2783AF
tetradic
#AF2783 #AF9727 #27AF53 #273FAF
square
#AF2783 #AF9727 #27AF53 #273FAF
split-complementary
#AF2783 #3FAF27 #27AF97
monochromatic
#4B1138 #7D1C5E #AF2783 #D43FA4 #DF71BC

Accessibility & contrast

On white

6.10
#AF2783 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#AF2783 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2783
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2783#FFFFFF#000000##FFFFFF
##AF27831.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385385
Deuteranopia (green-blind)
#626A80
Tritanopia (blue-blind)
#BB2552
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #af2783;
/* rgb */ color: rgb(175, 39, 131);
/* oklch */ color: oklch(52.2% 0.193 344.5);
Tailwind
colors: {
  custom: {
    50: '#cb70a7',
    500: '#af2783',
    950: '#000000',
  },
}
SCSS
$custom: #af2783;
$custom-light: #cb70a7;
$custom-dark: #000000;
JSON
{
  "hex": "#af2783",
  "rgb": {
    "r": 175,
    "g": 39,
    "b": 131
  },
  "hsl": {
    "h": 319.412,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.52162,
    "c": 0.1926,
    "h": 344.5
  },
  "luminance": 0.12204
}

Semantic roles & 50–950 ramp

primary
#AF2783
secondary
#6BC689
accent
#E77741
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14080F
muted
#837B7F

Preview Lab

Preview with #AF2783

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

Preview Lab → · Contrast checker → · Palette generator →

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