#AF2283#AF2283

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

Color values

HEX#AF2283
RGBrgb(175, 34, 131)
HSLhsl(319, 67%, 41%)
HSVhsv(319, 81%, 69%)
CMYKcmyk(0%, 80.6%, 25.1%, 31.4%)
CIE-LABlab(41.06, 62.68, -20.02)
CIE-LCHlch(41.06, 65.80, 342.28°)
OKLaboklab(51.81% 0.1899 -0.0535)
OKLCHoklch(51.81% 0.197 344.3)
XYZxyz(22.3489, 11.8992, 22.5881)
Luminance0.1190 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2283 #22AF4E
analogous
#9422AF #AF2283 #AF223D
triadic
#AF2283 #83AF22 #2283AF
tetradic
#AF2283 #AF9422 #22AF4E #223DAF
square
#AF2283 #AF9422 #22AF4E #223DAF
split-complementary
#AF2283 #3DAF22 #22AF94
monochromatic
#490E36 #7C185D #AF2283 #D836A6 #E269BC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF2283#FFFFFF#000000##FFFFFF
##AF22831.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)
#355285
Deuteranopia (green-blind)
#616980
Tritanopia (blue-blind)
#BB2051
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #af2283;
/* rgb */ color: rgb(175, 34, 131);
/* oklch */ color: oklch(51.8% 0.197 344.3);
Tailwind
colors: {
  custom: {
    50: '#cb6ea7',
    500: '#af2283',
    950: '#000000',
  },
}
SCSS
$custom: #af2283;
$custom-light: #cb6ea7;
$custom-dark: #000000;
JSON
{
  "hex": "#af2283",
  "rgb": {
    "r": 175,
    "g": 34,
    "b": 131
  },
  "hsl": {
    "h": 318.723,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.5181,
    "c": 0.1973,
    "h": 344.3
  },
  "luminance": 0.11897
}

Semantic roles & 50–950 ramp

primary
#AF2283
secondary
#65C884
accent
#EA733D
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14080F
muted
#837B7F

Preview Lab

Preview with #AF2283

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

Preview Lab → · Contrast checker → · Palette generator →

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