#AF4379#AF4379

#AF4379 is a mid, vivid pink. Relative luminance 0.145; OKLCH L 54.5% C 0.152 H 352.2°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#AF4379
RGBrgb(175, 67, 121)
HSLhsl(330, 45%, 47%)
HSVhsv(330, 62%, 69%)
CMYKcmyk(0%, 61.7%, 30.9%, 31.4%)
CIE-LABlab(44.96, 49.46, -7.96)
CIE-LCHlch(44.96, 50.09, 350.86°)
OKLaboklab(54.54% 0.1504 -0.0205)
OKLCHoklch(54.54% 0.152 352.2)
XYZxyz(23.1386, 14.5111, 19.6678)
Luminance0.1451 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4379 #43AF79
analogous
#AF43AF #AF4379 #AF4343
triadic
#AF4379 #79AF43 #4379AF
tetradic
#AF4379 #AFAF43 #43AF79 #4343AF
square
#AF4379 #AFAF43 #43AF79 #4343AF
split-complementary
#AF4379 #43AF43 #43AFAF
monochromatic
#56213C #83325A #AF4379 #C66998 #D796B6

Accessibility & contrast

On white

5.38
#AF4379 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#AF4379 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4379
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4379#FFFFFF#000000##FFFFFF
##AF43791.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#525E7B
Deuteranopia (green-blind)
#707276
Tritanopia (blue-blind)
#BB3D59
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #af4379;
/* rgb */ color: rgb(175, 67, 121);
/* oklch */ color: oklch(54.5% 0.152 352.2);
Tailwind
colors: {
  custom: {
    50: '#ca7d9f',
    500: '#af4379',
    950: '#000000',
  },
}
SCSS
$custom: #af4379;
$custom-light: #ca7d9f;
$custom-dark: #000000;
JSON
{
  "hex": "#af4379",
  "rgb": {
    "r": 175,
    "g": 67,
    "b": 121
  },
  "hsl": {
    "h": 330,
    "s": 44.628,
    "l": 47.451
  },
  "oklch": {
    "l": 0.54541,
    "c": 0.15182,
    "h": 352.2
  },
  "luminance": 0.14509
}

Semantic roles & 50–950 ramp

primary
#AF4379
secondary
#8BC2A7
accent
#D49453
background
#FCF7F9
surface
#F9EEF2
border
#D2C9CC
text
#140A0E
muted
#827C7E

Preview Lab

Preview with #AF4379

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

Preview Lab → · Contrast checker → · Palette generator →

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