#AF2371#AF2371

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

Color values

HEX#AF2371
RGBrgb(175, 35, 113)
HSLhsl(327, 67%, 41%)
HSVhsv(327, 80%, 69%)
CMYKcmyk(0%, 80%, 35.4%, 31.4%)
CIE-LABlab(40.43, 60.30, -9.81)
CIE-LCHlch(40.43, 61.09, 350.76°)
OKLaboklab(51.12% 0.1852 -0.0253)
OKLCHoklch(51.12% 0.187 352.2)
XYZxyz(21.2622, 11.5109, 16.7217)
Luminance0.1151 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2371 #23AF61
analogous
#A723AF #AF2371 #AF232B
triadic
#AF2371 #71AF23 #2371AF
tetradic
#AF2371 #AFA723 #23AF61 #232BAF
square
#AF2371 #AFA723 #23AF61 #232BAF
split-complementary
#AF2371 #2BAF23 #23AFA7
monochromatic
#490F2F #7C1950 #AF2371 #D73891 #E16BAD

Accessibility & contrast

On white

6.36
#AF2371 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#AF2371 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2371
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2371#FFFFFF#000000##FFFFFF
##AF23711.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4F73
Deuteranopia (green-blind)
#67686E
Tritanopia (blue-blind)
#BD1347
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af2371;
/* rgb */ color: rgb(175, 35, 113);
/* oklch */ color: oklch(51.1% 0.187 352.2);
Tailwind
colors: {
  custom: {
    50: '#cc6e99',
    500: '#af2371',
    950: '#000000',
  },
}
SCSS
$custom: #af2371;
$custom-light: #cc6e99;
$custom-dark: #000000;
JSON
{
  "hex": "#af2371",
  "rgb": {
    "r": 175,
    "g": 35,
    "b": 113
  },
  "hsl": {
    "h": 326.571,
    "s": 66.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.51119,
    "c": 0.18688,
    "h": 352.2
  },
  "luminance": 0.11508
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF2371

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

Preview Lab → · Contrast checker → · Palette generator →

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