#AF2289#AF2289

#AF2289 is a mid, highly saturated pink. Relative luminance 0.121; OKLCH L 52.1% C 0.201 H 341.8°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#AF2289
RGBrgb(175, 34, 137)
HSLhsl(316, 67%, 41%)
HSVhsv(316, 81%, 69%)
CMYKcmyk(0%, 80.6%, 21.7%, 31.4%)
CIE-LABlab(41.32, 63.45, -23.30)
CIE-LCHlch(41.32, 67.59, 339.84°)
OKLaboklab(52.09% 0.1909 -0.0627)
OKLCHoklch(52.09% 0.201 341.8)
XYZxyz(22.7674, 12.0666, 24.7921)
Luminance0.1206 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2289 #22AF48
analogous
#8E22AF #AF2289 #AF2242
triadic
#AF2289 #89AF22 #2289AF
tetradic
#AF2289 #AF8E22 #22AF48 #2242AF
square
#AF2289 #AF8E22 #22AF48 #2242AF
split-complementary
#AF2289 #42AF22 #22AF8E
monochromatic
#490E39 #7C1861 #AF2289 #D836AC #E269C1

Accessibility & contrast

On white

6.15
#AF2289 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF2289
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2289#FFFFFF#000000##FFFFFF
##AF22891.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31538C
Deuteranopia (green-blind)
#5F6986
Tritanopia (blue-blind)
#BA2554
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #af2289;
/* rgb */ color: rgb(175, 34, 137);
/* oklch */ color: oklch(52.1% 0.201 341.8);
Tailwind
colors: {
  custom: {
    50: '#cb6fab',
    500: '#af2289',
    950: '#000000',
  },
}
SCSS
$custom: #af2289;
$custom-light: #cb6fab;
$custom-dark: #000000;
JSON
{
  "hex": "#af2289",
  "rgb": {
    "r": 175,
    "g": 34,
    "b": 137
  },
  "hsl": {
    "h": 316.17,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.52089,
    "c": 0.20088,
    "h": 341.8
  },
  "luminance": 0.12064
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF2289

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

Preview Lab → · Contrast checker → · Palette generator →

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