#AF2381#AF2381

#AF2381 is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.8% C 0.195 H 345.2°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#AF2381
RGBrgb(175, 35, 129)
HSLhsl(320, 67%, 41%)
HSVhsv(320, 80%, 69%)
CMYKcmyk(0%, 80%, 26.3%, 31.4%)
CIE-LABlab(41.06, 62.17, -18.78)
CIE-LCHlch(41.06, 64.94, 343.19°)
OKLaboklab(51.79% 0.1887 -0.05)
OKLCHoklch(51.79% 0.195 345.2)
XYZxyz(22.2437, 11.9035, 21.8908)
Luminance0.1190 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2381 #23AF51
analogous
#9723AF #AF2381 #AF233B
triadic
#AF2381 #81AF23 #2381AF
tetradic
#AF2381 #AF9723 #23AF51 #233BAF
square
#AF2381 #AF9723 #23AF51 #233BAF
split-complementary
#AF2381 #3BAF23 #23AF97
monochromatic
#490F36 #7C195B #AF2381 #D738A3 #E16BBA

Accessibility & contrast

On white

6.21
#AF2381 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#AF2381 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2381
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2381#FFFFFF#000000##FFFFFF
##AF23811.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375283
Deuteranopia (green-blind)
#62697E
Tritanopia (blue-blind)
#BB2050
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #af2381;
/* rgb */ color: rgb(175, 35, 129);
/* oklch */ color: oklch(51.8% 0.195 345.2);
Tailwind
colors: {
  custom: {
    50: '#cb6fa5',
    500: '#af2381',
    950: '#000000',
  },
}
SCSS
$custom: #af2381;
$custom-light: #cb6fa5;
$custom-dark: #000000;
JSON
{
  "hex": "#af2381",
  "rgb": {
    "r": 175,
    "g": 35,
    "b": 129
  },
  "hsl": {
    "h": 319.714,
    "s": 66.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.51787,
    "c": 0.19525,
    "h": 345.2
  },
  "luminance": 0.11901
}

Semantic roles & 50–950 ramp

primary
#AF2381
secondary
#66C786
accent
#EA773E
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14080F
muted
#837B7F

Preview Lab

Preview with #AF2381

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

Preview Lab → · Contrast checker → · Palette generator →

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