#AF487B#AF487B

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

Color values

HEX#AF487B
RGBrgb(175, 72, 123)
HSLhsl(330, 42%, 48%)
HSVhsv(330, 59%, 69%)
CMYKcmyk(0%, 58.9%, 29.7%, 31.4%)
CIE-LABlab(45.88, 47.41, -7.79)
CIE-LCHlch(45.88, 48.05, 350.66°)
OKLaboklab(55.25% 0.1439 -0.0201)
OKLCHoklch(55.25% 0.145 352.1)
XYZxyz(23.5727, 15.1811, 20.4238)
Luminance0.1518 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF487B #48AF7C
analogous
#AF48AE #AF487B #AF4848
triadic
#AF487B #7BAF48 #487BAF
tetradic
#AF487B #AEAF48 #48AF7C #4848AF
square
#AF487B #AEAF48 #48AF7C #4848AF
split-complementary
#AF487B #48AF48 #48AEAF
monochromatic
#58243E #84365D #AF487B #C4709A #D69BB8

Accessibility & contrast

On white

5.20
#AF487B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#AF487B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF487B
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF487B#FFFFFF#000000##FFFFFF
##AF487B1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#56617D
Deuteranopia (green-blind)
#727479
Tritanopia (blue-blind)
#BB435C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #af487b;
/* rgb */ color: rgb(175, 72, 123);
/* oklch */ color: oklch(55.2% 0.145 352.1);
Tailwind
colors: {
  custom: {
    50: '#ca80a1',
    500: '#af487b',
    950: '#000000',
  },
}
SCSS
$custom: #af487b;
$custom-light: #ca80a1;
$custom-dark: #000000;
JSON
{
  "hex": "#af487b",
  "rgb": {
    "r": 175,
    "g": 72,
    "b": 123
  },
  "hsl": {
    "h": 330.291,
    "s": 41.7,
    "l": 48.431
  },
  "oklch": {
    "l": 0.55249,
    "c": 0.14532,
    "h": 352.1
  },
  "luminance": 0.15179
}

Semantic roles & 50–950 ramp

primary
#AF487B
secondary
#90C2AA
accent
#D29456
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#140A0E
muted
#827C7E

Preview Lab

Preview with #AF487B

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

Preview Lab → · Contrast checker → · Palette generator →

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