#AF3876#AF3876

#AF3876 is a mid, vivid pink. Relative luminance 0.133; OKLCH L 53.2% C 0.166 H 352.1°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#AF3876
RGBrgb(175, 56, 118)
HSLhsl(329, 52%, 45%)
HSVhsv(329, 68%, 69%)
CMYKcmyk(0%, 68%, 32.6%, 31.4%)
CIE-LABlab(43.14, 53.76, -8.84)
CIE-LCHlch(43.14, 54.48, 350.67°)
OKLaboklab(53.16% 0.1641 -0.0228)
OKLCHoklch(53.16% 0.166 352.1)
XYZxyz(22.3646, 13.2528, 18.5163)
Luminance0.1325 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3876 #38AF71
analogous
#AC38AF #AF3876 #AF383B
triadic
#AF3876 #76AF38 #3876AF
tetradic
#AF3876 #AFAC38 #38AF71 #383BAF
square
#AF3876 #AFAC38 #38AF71 #383BAF
split-complementary
#AF3876 #3BAF38 #38AFAC
monochromatic
#521A37 #812957 #AF3876 #CA5A94 #D988B2

Accessibility & contrast

On white

5.75
#AF3876 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#AF3876 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3876
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3876#FFFFFF#000000##FFFFFF
##AF38761.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5878
Deuteranopia (green-blind)
#6C6E73
Tritanopia (blue-blind)
#BC3052
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #af3876;
/* rgb */ color: rgb(175, 56, 118);
/* oklch */ color: oklch(53.2% 0.166 352.1);
Tailwind
colors: {
  custom: {
    50: '#cb779d',
    500: '#af3876',
    950: '#000000',
  },
}
SCSS
$custom: #af3876;
$custom-light: #cb779d;
$custom-dark: #000000;
JSON
{
  "hex": "#af3876",
  "rgb": {
    "r": 175,
    "g": 56,
    "b": 118
  },
  "hsl": {
    "h": 328.739,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.53165,
    "c": 0.16568,
    "h": 352.1
  },
  "luminance": 0.1325
}

Semantic roles & 50–950 ramp

primary
#AF3876
secondary
#80C3A0
accent
#DB914D
background
#FDF7F9
surface
#FAEEF2
border
#D3C9CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #AF3876

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

Preview Lab → · Contrast checker → · Palette generator →

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