#AF4876#AF4876

#AF4876 is a mid, vivid pink. Relative luminance 0.151; OKLCH L 55.1% C 0.143 H 354.9°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#AF4876
RGBrgb(175, 72, 118)
HSLhsl(333, 42%, 48%)
HSVhsv(333, 59%, 69%)
CMYKcmyk(0%, 58.9%, 32.6%, 31.4%)
CIE-LABlab(45.72, 46.77, -5.00)
CIE-LCHlch(45.72, 47.04, 353.90°)
OKLaboklab(55.07% 0.1423 -0.0126)
OKLCHoklch(55.07% 0.143 354.9)
XYZxyz(23.2677, 15.0591, 18.8173)
Luminance0.1506 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4876 #48AF81
analogous
#AF48A9 #AF4876 #AF4E48
triadic
#AF4876 #76AF48 #4876AF
tetradic
#AF4876 #A9AF48 #48AF81 #4E48AF
square
#AF4876 #A9AF48 #48AF81 #4E48AF
split-complementary
#AF4876 #48AF4E #48A9AF
monochromatic
#58243C #843659 #AF4876 #C47096 #D69BB6

Accessibility & contrast

On white

5.24
#AF4876 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#AF4876 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4876
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4876#FFFFFF#000000##FFFFFF
##AF48761.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#576077
Deuteranopia (green-blind)
#737374
Tritanopia (blue-blind)
#BC415A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #af4876;
/* rgb */ color: rgb(175, 72, 118);
/* oklch */ color: oklch(55.1% 0.143 354.9);
Tailwind
colors: {
  custom: {
    50: '#ca809d',
    500: '#af4876',
    950: '#000000',
  },
}
SCSS
$custom: #af4876;
$custom-light: #ca809d;
$custom-dark: #000000;
JSON
{
  "hex": "#af4876",
  "rgb": {
    "r": 175,
    "g": 72,
    "b": 118
  },
  "hsl": {
    "h": 333.204,
    "s": 41.7,
    "l": 48.431
  },
  "oklch": {
    "l": 0.55071,
    "c": 0.1429,
    "h": 354.9
  },
  "luminance": 0.15057
}

Semantic roles & 50–950 ramp

primary
#AF4876
secondary
#90C2AC
accent
#D29A56
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#140A0E
muted
#827C7E

Preview Lab

Preview with #AF4876

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

Preview Lab → · Contrast checker → · Palette generator →

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