#AF2284#AF2284

#AF2284 is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.9% C 0.198 H 343.9°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#AF2284
RGBrgb(175, 34, 132)
HSLhsl(318, 67%, 41%)
HSVhsv(318, 81%, 69%)
CMYKcmyk(0%, 80.6%, 24.6%, 31.4%)
CIE-LABlab(41.10, 62.81, -20.57)
CIE-LCHlch(41.10, 66.09, 341.86°)
OKLaboklab(51.86% 0.1901 -0.055)
OKLCHoklch(51.86% 0.198 343.9)
XYZxyz(22.4170, 11.9264, 22.9468)
Luminance0.1192 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2284 #22AF4D
analogous
#9322AF #AF2284 #AF223D
triadic
#AF2284 #84AF22 #2284AF
tetradic
#AF2284 #AF9322 #22AF4D #223DAF
square
#AF2284 #AF9322 #22AF4D #223DAF
split-complementary
#AF2284 #3DAF22 #22AF93
monochromatic
#490E37 #7C185D #AF2284 #D836A7 #E269BD

Accessibility & contrast

On white

6.20
#AF2284 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF2284
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2284#FFFFFF#000000##FFFFFF
##AF22841.006.203.386.20
#FFFFFF6.201.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345286
Deuteranopia (green-blind)
#616981
Tritanopia (blue-blind)
#BB2151
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #af2284;
/* rgb */ color: rgb(175, 34, 132);
/* oklch */ color: oklch(51.9% 0.198 343.9);
Tailwind
colors: {
  custom: {
    50: '#cb6ea8',
    500: '#af2284',
    950: '#000000',
  },
}
SCSS
$custom: #af2284;
$custom-light: #cb6ea8;
$custom-dark: #000000;
JSON
{
  "hex": "#af2284",
  "rgb": {
    "r": 175,
    "g": 34,
    "b": 132
  },
  "hsl": {
    "h": 318.298,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.51856,
    "c": 0.19788,
    "h": 343.9
  },
  "luminance": 0.11924
}

Semantic roles & 50–950 ramp

primary
#AF2284
secondary
#65C883
accent
#EA723D
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14080F
muted
#837B7F

Preview Lab

Preview with #AF2284

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

Preview Lab → · Contrast checker → · Palette generator →

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