#AF2393#AF2393

#AF2393 is a mid, highly saturated pink. Relative luminance 0.124; OKLCH L 52.6% C 0.206 H 337.9°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#AF2393
RGBrgb(175, 35, 147)
HSLhsl(312, 67%, 41%)
HSVhsv(312, 80%, 69%)
CMYKcmyk(0%, 80%, 16%, 31.4%)
CIE-LABlab(41.88, 64.53, -28.52)
CIE-LCHlch(41.88, 70.55, 336.16°)
OKLaboklab(52.65% 0.1912 -0.0775)
OKLCHoklch(52.65% 0.206 337.9)
XYZxyz(23.5472, 12.4249, 28.7562)
Luminance0.1242 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2393 #23AF3F
analogous
#8523AF #AF2393 #AF234D
triadic
#AF2393 #93AF23 #2393AF
tetradic
#AF2393 #AF8523 #23AF3F #234DAF
square
#AF2393 #AF8523 #23AF3F #234DAF
split-complementary
#AF2393 #4DAF23 #23AF85
monochromatic
#490F3D #7C1968 #AF2393 #D738B7 #E16BCA

Accessibility & contrast

On white

6.03
#AF2393 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#AF2393 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2393
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2393#FFFFFF#000000##FFFFFF
##AF23931.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5596
Deuteranopia (green-blind)
#5B6A90
Tritanopia (blue-blind)
#B92C5A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #af2393;
/* rgb */ color: rgb(175, 35, 147);
/* oklch */ color: oklch(52.6% 0.206 337.9);
Tailwind
colors: {
  custom: {
    50: '#cb6fb3',
    500: '#af2393',
    950: '#000000',
  },
}
SCSS
$custom: #af2393;
$custom-light: #cb6fb3;
$custom-dark: #000000;
JSON
{
  "hex": "#af2393",
  "rgb": {
    "r": 175,
    "g": 35,
    "b": 147
  },
  "hsl": {
    "h": 312,
    "s": 66.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.52647,
    "c": 0.20633,
    "h": 337.9
  },
  "luminance": 0.12423
}

Semantic roles & 50–950 ramp

primary
#AF2393
secondary
#66C77A
accent
#EA603E
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140811
muted
#837B80

Preview Lab

Preview with #AF2393

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

Preview Lab → · Contrast checker → · Palette generator →

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