#AF2280#AF2280

#AF2280 is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.7% C 0.196 H 345.5°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#AF2280
RGBrgb(175, 34, 128)
HSLhsl(320, 67%, 41%)
HSVhsv(320, 81%, 69%)
CMYKcmyk(0%, 80.6%, 26.9%, 31.4%)
CIE-LABlab(40.93, 62.31, -18.37)
CIE-LCHlch(40.93, 64.96, 343.57°)
OKLaboklab(51.68% 0.1894 -0.0488)
OKLCHoklch(51.68% 0.196 345.5)
XYZxyz(22.1485, 11.8190, 21.5328)
Luminance0.1182 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2280 #22AF51
analogous
#9722AF #AF2280 #AF2239
triadic
#AF2280 #80AF22 #2280AF
tetradic
#AF2280 #AF9722 #22AF51 #2239AF
square
#AF2280 #AF9722 #22AF51 #2239AF
split-complementary
#AF2280 #39AF22 #22AF97
monochromatic
#490E35 #7C185B #AF2280 #D836A2 #E269BA

Accessibility & contrast

On white

6.24
#AF2280 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#AF2280 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2280
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2280#FFFFFF#000000##FFFFFF
##AF22801.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375182
Deuteranopia (green-blind)
#62697D
Tritanopia (blue-blind)
#BB1E4F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af2280;
/* rgb */ color: rgb(175, 34, 128);
/* oklch */ color: oklch(51.7% 0.196 345.5);
Tailwind
colors: {
  custom: {
    50: '#cb6ea5',
    500: '#af2280',
    950: '#000000',
  },
}
SCSS
$custom: #af2280;
$custom-light: #cb6ea5;
$custom-dark: #000000;
JSON
{
  "hex": "#af2280",
  "rgb": {
    "r": 175,
    "g": 34,
    "b": 128
  },
  "hsl": {
    "h": 320,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.51676,
    "c": 0.19558,
    "h": 345.5
  },
  "luminance": 0.11817
}

Semantic roles & 50–950 ramp

primary
#AF2280
secondary
#65C886
accent
#EA773D
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14080F
muted
#837B7F

Preview Lab

Preview with #AF2280

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

Preview Lab → · Contrast checker → · Palette generator →

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