#AF2372#AF2372

#AF2372 is a mid, vivid pink. Relative luminance 0.115; OKLCH L 51.2% C 0.187 H 351.8°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#AF2372
RGBrgb(175, 35, 114)
HSLhsl(326, 67%, 41%)
HSVhsv(326, 80%, 69%)
CMYKcmyk(0%, 80%, 34.9%, 31.4%)
CIE-LABlab(40.47, 60.41, -10.38)
CIE-LCHlch(40.47, 61.30, 350.25°)
OKLaboklab(51.16% 0.1854 -0.0268)
OKLCHoklch(51.16% 0.187 351.8)
XYZxyz(21.3188, 11.5336, 17.0199)
Luminance0.1153 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2372 #23AF60
analogous
#A623AF #AF2372 #AF232C
triadic
#AF2372 #72AF23 #2372AF
tetradic
#AF2372 #AFA623 #23AF60 #232CAF
square
#AF2372 #AFA623 #23AF60 #232CAF
split-complementary
#AF2372 #2CAF23 #23AFA6
monochromatic
#490F30 #7C1951 #AF2372 #D73892 #E16BAE

Accessibility & contrast

On white

6.35
#AF2372 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#AF2372 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2372
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2372#FFFFFF#000000##FFFFFF
##AF23721.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4F74
Deuteranopia (green-blind)
#66686F
Tritanopia (blue-blind)
#BD1448
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af2372;
/* rgb */ color: rgb(175, 35, 114);
/* oklch */ color: oklch(51.2% 0.187 351.8);
Tailwind
colors: {
  custom: {
    50: '#cc6e9a',
    500: '#af2372',
    950: '#000000',
  },
}
SCSS
$custom: #af2372;
$custom-light: #cc6e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#af2372",
  "rgb": {
    "r": 175,
    "g": 35,
    "b": 114
  },
  "hsl": {
    "h": 326.143,
    "s": 66.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.51159,
    "c": 0.18735,
    "h": 351.8
  },
  "luminance": 0.11531
}

Semantic roles & 50–950 ramp

primary
#AF2372
secondary
#66C791
accent
#EA893E
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14080E
muted
#837B7E

Preview Lab

Preview with #AF2372

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

Preview Lab → · Contrast checker → · Palette generator →

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