#AF2893#AF2893

#AF2893 is a mid, highly saturated pink. Relative luminance 0.127; OKLCH L 53.0% C 0.202 H 338.0°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#AF2893
RGBrgb(175, 40, 147)
HSLhsl(312, 63%, 42%)
HSVhsv(312, 77%, 69%)
CMYKcmyk(0%, 77.1%, 16%, 31.4%)
CIE-LABlab(42.37, 63.14, -27.76)
CIE-LCHlch(42.37, 68.97, 336.27°)
OKLaboklab(53% 0.187 -0.0754)
OKLCHoklch(53% 0.202 338)
XYZxyz(23.7050, 12.7404, 28.8088)
Luminance0.1274 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2893 #28AF44
analogous
#8728AF #AF2893 #AF2850
triadic
#AF2893 #93AF28 #2893AF
tetradic
#AF2893 #AF8728 #28AF44 #2850AF
square
#AF2893 #AF8728 #28AF44 #2850AF
split-complementary
#AF2893 #50AF28 #28AF87
monochromatic
#4B113F #7D1D69 #AF2893 #D441B5 #DF73C8

Accessibility & contrast

On white

5.92
#AF2893 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#AF2893 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2893
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2893#FFFFFF#000000##FFFFFF
##AF28931.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5796
Deuteranopia (green-blind)
#5D6B90
Tritanopia (blue-blind)
#B9305B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #af2893;
/* rgb */ color: rgb(175, 40, 147);
/* oklch */ color: oklch(53.0% 0.202 338.0);
Tailwind
colors: {
  custom: {
    50: '#cb71b3',
    500: '#af2893',
    950: '#000000',
  },
}
SCSS
$custom: #af2893;
$custom-light: #cb71b3;
$custom-dark: #000000;
JSON
{
  "hex": "#af2893",
  "rgb": {
    "r": 175,
    "g": 40,
    "b": 147
  },
  "hsl": {
    "h": 312.444,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.52996,
    "c": 0.20163,
    "h": 338
  },
  "luminance": 0.12738
}

Semantic roles & 50–950 ramp

primary
#AF2893
secondary
#6DC67F
accent
#E66442
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #AF2893

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

Preview Lab → · Contrast checker → · Palette generator →

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