#AF4B7D#AF4B7D

#AF4B7D is a mid, vivid pink. Relative luminance 0.156; OKLCH L 55.7% C 0.142 H 351.5°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#AF4B7D
RGBrgb(175, 75, 125)
HSLhsl(330, 40%, 49%)
HSVhsv(330, 57%, 69%)
CMYKcmyk(0%, 57.1%, 28.6%, 31.4%)
CIE-LABlab(46.48, 46.25, -8.11)
CIE-LCHlch(46.48, 46.96, 350.06°)
OKLaboklab(55.72% 0.1402 -0.0209)
OKLCHoklch(55.72% 0.142 351.5)
XYZxyz(23.8979, 15.6291, 21.1562)
Luminance0.1563 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4B7D #4BAF7D
analogous
#AF4BAF #AF4B7D #AF4B4B
triadic
#AF4B7D #7DAF4B #4B7DAF
tetradic
#AF4B7D #AFAF4B #4BAF7D #4B4BAF
square
#AF4B7D #AFAF4B #4BAF7D #4B4BAF
split-complementary
#AF4B7D #4BAF4B #4BAFAF
monochromatic
#592640 #84395E #AF4B7D #C3749C #D69FBA

Accessibility & contrast

On white

5.09
#AF4B7D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#AF4B7D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4B7D
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4B7D#FFFFFF#000000##FFFFFF
##AF4B7D1.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#58637F
Deuteranopia (green-blind)
#73757B
Tritanopia (blue-blind)
#BB475E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #af4b7d;
/* rgb */ color: rgb(175, 75, 125);
/* oklch */ color: oklch(55.7% 0.142 351.5);
Tailwind
colors: {
  custom: {
    50: '#ca82a2',
    500: '#af4b7d',
    950: '#000000',
  },
}
SCSS
$custom: #af4b7d;
$custom-light: #ca82a2;
$custom-dark: #000000;
JSON
{
  "hex": "#af4b7d",
  "rgb": {
    "r": 175,
    "g": 75,
    "b": 125
  },
  "hsl": {
    "h": 330,
    "s": 40,
    "l": 49.02
  },
  "oklch": {
    "l": 0.5572,
    "c": 0.14171,
    "h": 351.5
  },
  "luminance": 0.15627
}

Semantic roles & 50–950 ramp

primary
#AF4B7D
secondary
#93C2AB
accent
#D09458
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#140B0F
muted
#827C7E

Preview Lab

Preview with #AF4B7D

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

Preview Lab → · Contrast checker → · Palette generator →

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