#AF4B76#AF4B76

#AF4B76 is a mid, vivid pink. Relative luminance 0.155; OKLCH L 55.5% C 0.138 H 355.6°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#AF4B76
RGBrgb(175, 75, 118)
HSLhsl(334, 40%, 49%)
HSVhsv(334, 57%, 69%)
CMYKcmyk(0%, 57.1%, 32.6%, 31.4%)
CIE-LABlab(46.25, 45.34, -4.20)
CIE-LCHlch(46.25, 45.53, 354.71°)
OKLaboklab(55.47% 0.1379 -0.0105)
OKLCHoklch(55.47% 0.138 355.6)
XYZxyz(23.4664, 15.4565, 18.8836)
Luminance0.1545 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4B76 #4BAF84
analogous
#AF4BA8 #AF4B76 #AF524B
triadic
#AF4B76 #76AF4B #4B76AF
tetradic
#AF4B76 #A8AF4B #4BAF84 #524BAF
square
#AF4B76 #A8AF4B #4BAF84 #524BAF
split-complementary
#AF4B76 #4BAF52 #4BA8AF
monochromatic
#59263C #843959 #AF4B76 #C37496 #D69FB6

Accessibility & contrast

On white

5.13
#AF4B76 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#AF4B76 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4B76
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4B76#FFFFFF#000000##FFFFFF
##AF4B761.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A6277
Deuteranopia (green-blind)
#757474
Tritanopia (blue-blind)
#BC445B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #af4b76;
/* rgb */ color: rgb(175, 75, 118);
/* oklch */ color: oklch(55.5% 0.138 355.6);
Tailwind
colors: {
  custom: {
    50: '#ca829d',
    500: '#af4b76',
    950: '#000000',
  },
}
SCSS
$custom: #af4b76;
$custom-light: #ca829d;
$custom-dark: #000000;
JSON
{
  "hex": "#af4b76",
  "rgb": {
    "r": 175,
    "g": 75,
    "b": 118
  },
  "hsl": {
    "h": 334.2,
    "s": 40,
    "l": 49.02
  },
  "oklch": {
    "l": 0.55472,
    "c": 0.1383,
    "h": 355.6
  },
  "luminance": 0.15454
}

Semantic roles & 50–950 ramp

primary
#AF4B76
secondary
#93C2AE
accent
#D09C58
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#140B0E
muted
#827C7E

Preview Lab

Preview with #AF4B76

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

Preview Lab → · Contrast checker → · Palette generator →

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