#AF4B95#AF4B95

#AF4B95 is a mid, vivid pink. Relative luminance 0.163; OKLCH L 56.7% C 0.157 H 338.7°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#AF4B95
RGBrgb(175, 75, 149)
HSLhsl(316, 40%, 49%)
HSVhsv(316, 57%, 69%)
CMYKcmyk(0%, 57.1%, 14.9%, 31.4%)
CIE-LABlab(47.39, 49.76, -21.18)
CIE-LCHlch(47.39, 54.08, 336.94°)
OKLaboklab(56.69% 0.1465 -0.057)
OKLCHoklch(56.69% 0.157 338.7)
XYZxyz(25.6205, 16.3181, 30.2283)
Luminance0.1632 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4B95 #4BAF65
analogous
#974BAF #AF4B95 #AF4B63
triadic
#AF4B95 #95AF4B #4B95AF
tetradic
#AF4B95 #AF974B #4BAF65 #4B63AF
square
#AF4B95 #AF974B #4BAF65 #4B63AF
split-complementary
#AF4B95 #63AF4B #4BAF97
monochromatic
#59264C #843971 #AF4B95 #C374AF #D69FC7

Accessibility & contrast

On white

4.93
#AF4B95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#AF4B95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4B95
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4B95#FFFFFF#000000##FFFFFF
##AF4B951.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F6697
Deuteranopia (green-blind)
#6C7692
Tritanopia (blue-blind)
#B84E69
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #af4b95;
/* rgb */ color: rgb(175, 75, 149);
/* oklch */ color: oklch(56.7% 0.157 338.7);
Tailwind
colors: {
  custom: {
    50: '#c982b4',
    500: '#af4b95',
    950: '#000000',
  },
}
SCSS
$custom: #af4b95;
$custom-light: #c982b4;
$custom-dark: #000000;
JSON
{
  "hex": "#af4b95",
  "rgb": {
    "r": 175,
    "g": 75,
    "b": 149
  },
  "hsl": {
    "h": 315.6,
    "s": 40,
    "l": 49.02
  },
  "oklch": {
    "l": 0.56688,
    "c": 0.15717,
    "h": 338.7
  },
  "luminance": 0.16316
}

Semantic roles & 50–950 ramp

primary
#AF4B95
secondary
#93C2A0
accent
#D07758
background
#FCF8FB
surface
#F9EFF6
border
#D2CAD0
text
#140B11
muted
#827C80

Preview Lab

Preview with #AF4B95

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

Preview Lab → · Contrast checker → · Palette generator →

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