#AF548B#AF548B

#AF548B is a mid, vivid pink. Relative luminance 0.173; OKLCH L 57.5% C 0.135 H 345.0°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#AF548B
RGBrgb(175, 84, 139)
HSLhsl(324, 36%, 51%)
HSVhsv(324, 52%, 69%)
CMYKcmyk(0%, 52%, 20.6%, 31.4%)
CIE-LABlab(48.66, 43.81, -13.26)
CIE-LCHlch(48.66, 45.77, 343.16°)
OKLaboklab(57.51% 0.1308 -0.0351)
OKLCHoklch(57.51% 0.135 345)
XYZxyz(25.5103, 17.3207, 26.4208)
Luminance0.1732 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF548B #54AF78
analogous
#A554AF #AF548B #AF545D
triadic
#AF548B #8BAF54 #548BAF
tetradic
#AF548B #AFA554 #54AF78 #545DAF
square
#AF548B #AFA554 #54AF78 #545DAF
split-complementary
#AF548B #5DAF54 #54AFA5
monochromatic
#5D2C49 #873F6A #AF548B #C37EA7 #D6A7C4

Accessibility & contrast

On white

4.70
#AF548B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#AF548B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF548B
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF548B#FFFFFF#000000##FFFFFF
##AF548B1.004.704.464.70
#FFFFFF4.701.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B6A8D
Deuteranopia (green-blind)
#747989
Tritanopia (blue-blind)
#B95369
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #af548b;
/* rgb */ color: rgb(175, 84, 139);
/* oklch */ color: oklch(57.5% 0.135 345.0);
Tailwind
colors: {
  custom: {
    50: '#c987ad',
    500: '#af548b',
    950: '#000000',
  },
}
SCSS
$custom: #af548b;
$custom-light: #c987ad;
$custom-dark: #000000;
JSON
{
  "hex": "#af548b",
  "rgb": {
    "r": 175,
    "g": 84,
    "b": 139
  },
  "hsl": {
    "h": 323.736,
    "s": 36.255,
    "l": 50.784
  },
  "oklch": {
    "l": 0.57505,
    "c": 0.13541,
    "h": 345
  },
  "luminance": 0.17319
}

Semantic roles & 50–950 ramp

primary
#AF548B
secondary
#9BC4AB
accent
#CC885C
background
#FCF8FA
surface
#F9F0F4
border
#D2CBCE
text
#130C10
muted
#827D7F

Preview Lab

Preview with #AF548B

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

Preview Lab → · Contrast checker → · Palette generator →

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