#AF2392#AF2392

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

Color values

HEX#AF2392
RGBrgb(175, 35, 146)
HSLhsl(312, 67%, 41%)
HSVhsv(312, 80%, 69%)
CMYKcmyk(0%, 80%, 16.6%, 31.4%)
CIE-LABlab(41.84, 64.39, -27.99)
CIE-LCHlch(41.84, 70.21, 336.51°)
OKLaboklab(52.6% 0.1911 -0.076)
OKLCHoklch(52.6% 0.206 338.3)
XYZxyz(23.4691, 12.3937, 28.3448)
Luminance0.1239 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2392 #23AF40
analogous
#8623AF #AF2392 #AF234C
triadic
#AF2392 #92AF23 #2392AF
tetradic
#AF2392 #AF8623 #23AF40 #234CAF
square
#AF2392 #AF8623 #23AF40 #234CAF
split-complementary
#AF2392 #4CAF23 #23AF86
monochromatic
#490F3D #7C1967 #AF2392 #D738B6 #E16BC9

Accessibility & contrast

On white

6.04
#AF2392 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF2392
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2392#FFFFFF#000000##FFFFFF
##AF23921.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5595
Deuteranopia (green-blind)
#5C6A8F
Tritanopia (blue-blind)
#B92B59
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #af2392;
/* rgb */ color: rgb(175, 35, 146);
/* oklch */ color: oklch(52.6% 0.206 338.3);
Tailwind
colors: {
  custom: {
    50: '#cb6fb2',
    500: '#af2392',
    950: '#000000',
  },
}
SCSS
$custom: #af2392;
$custom-light: #cb6fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#af2392",
  "rgb": {
    "r": 175,
    "g": 35,
    "b": 146
  },
  "hsl": {
    "h": 312.429,
    "s": 66.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.52596,
    "c": 0.20568,
    "h": 338.3
  },
  "luminance": 0.12391
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF2392

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

Preview Lab → · Contrast checker → · Palette generator →

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