#AF2288#AF2288

#AF2288 is a mid, highly saturated pink. Relative luminance 0.120; OKLCH L 52.0% C 0.200 H 342.2°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#AF2288
RGBrgb(175, 34, 136)
HSLhsl(317, 67%, 41%)
HSVhsv(317, 81%, 69%)
CMYKcmyk(0%, 80.6%, 22.3%, 31.4%)
CIE-LABlab(41.28, 63.32, -22.75)
CIE-LCHlch(41.28, 67.28, 340.23°)
OKLaboklab(52.04% 0.1907 -0.0611)
OKLCHoklch(52.04% 0.2 342.2)
XYZxyz(22.6960, 12.0380, 24.4161)
Luminance0.1204 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2288 #22AF49
analogous
#8F22AF #AF2288 #AF2241
triadic
#AF2288 #88AF22 #2288AF
tetradic
#AF2288 #AF8F22 #22AF49 #2241AF
square
#AF2288 #AF8F22 #22AF49 #2241AF
split-complementary
#AF2288 #41AF22 #22AF8F
monochromatic
#490E38 #7C1860 #AF2288 #D836AB #E269C1

Accessibility & contrast

On white

6.16
#AF2288 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#AF2288 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2288
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2288#FFFFFF#000000##FFFFFF
##AF22881.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32538B
Deuteranopia (green-blind)
#5F6985
Tritanopia (blue-blind)
#BA2454
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #af2288;
/* rgb */ color: rgb(175, 34, 136);
/* oklch */ color: oklch(52.0% 0.200 342.2);
Tailwind
colors: {
  custom: {
    50: '#cb6eab',
    500: '#af2288',
    950: '#000000',
  },
}
SCSS
$custom: #af2288;
$custom-light: #cb6eab;
$custom-dark: #000000;
JSON
{
  "hex": "#af2288",
  "rgb": {
    "r": 175,
    "g": 34,
    "b": 136
  },
  "hsl": {
    "h": 316.596,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.52042,
    "c": 0.20027,
    "h": 342.2
  },
  "luminance": 0.12036
}

Semantic roles & 50–950 ramp

primary
#AF2288
secondary
#65C880
accent
#EA6D3D
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140810
muted
#837B7F

Preview Lab

Preview with #AF2288

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

Preview Lab → · Contrast checker → · Palette generator →

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