#AF2285#AF2285

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

Color values

HEX#AF2285
RGBrgb(175, 34, 133)
HSLhsl(318, 67%, 41%)
HSVhsv(318, 81%, 69%)
CMYKcmyk(0%, 80.6%, 24%, 31.4%)
CIE-LABlab(41.14, 62.93, -21.12)
CIE-LCHlch(41.14, 66.38, 341.45°)
OKLaboklab(51.9% 0.1903 -0.0565)
OKLCHoklch(51.9% 0.198 343.4)
XYZxyz(22.4858, 11.9539, 23.3089)
Luminance0.1195 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2285 #22AF4C
analogous
#9222AF #AF2285 #AF223F
triadic
#AF2285 #85AF22 #2285AF
tetradic
#AF2285 #AF9222 #22AF4C #223FAF
square
#AF2285 #AF9222 #22AF4C #223FAF
split-complementary
#AF2285 #3FAF22 #22AF92
monochromatic
#490E37 #7C185E #AF2285 #D836A8 #E269BE

Accessibility & contrast

On white

6.19
#AF2285 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#AF2285 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2285
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2285#FFFFFF#000000##FFFFFF
##AF22851.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345288
Deuteranopia (green-blind)
#606982
Tritanopia (blue-blind)
#BB2252
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #af2285;
/* rgb */ color: rgb(175, 34, 133);
/* oklch */ color: oklch(51.9% 0.198 343.4);
Tailwind
colors: {
  custom: {
    50: '#cb6ea8',
    500: '#af2285',
    950: '#000000',
  },
}
SCSS
$custom: #af2285;
$custom-light: #cb6ea8;
$custom-dark: #000000;
JSON
{
  "hex": "#af2285",
  "rgb": {
    "r": 175,
    "g": 34,
    "b": 133
  },
  "hsl": {
    "h": 317.872,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.51902,
    "c": 0.19847,
    "h": 343.4
  },
  "luminance": 0.11951
}

Semantic roles & 50–950 ramp

primary
#AF2285
secondary
#65C882
accent
#EA713D
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14080F
muted
#837B7F

Preview Lab

Preview with #AF2285

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

Preview Lab → · Contrast checker → · Palette generator →

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