#AF548C#AF548C

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

Color values

HEX#AF548C
RGBrgb(175, 84, 140)
HSLhsl(323, 36%, 51%)
HSVhsv(323, 52%, 69%)
CMYKcmyk(0%, 52%, 20%, 31.4%)
CIE-LABlab(48.70, 43.96, -13.80)
CIE-LCHlch(48.70, 46.08, 342.57°)
OKLaboklab(57.55% 0.1311 -0.0366)
OKLCHoklch(57.55% 0.136 344.4)
XYZxyz(25.5837, 17.3501, 26.8073)
Luminance0.1735 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF548C #54AF77
analogous
#A454AF #AF548C #AF545E
triadic
#AF548C #8CAF54 #548CAF
tetradic
#AF548C #AFA454 #54AF77 #545EAF
square
#AF548C #AFA454 #54AF77 #545EAF
split-complementary
#AF548C #5EAF54 #54AFA4
monochromatic
#5D2C4A #873F6B #AF548C #C37EA8 #D6A7C4

Accessibility & contrast

On white

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

On black

4.47
#AF548C on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##AF548C#FFFFFF#000000##FFFFFF
##AF548C1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B6A8E
Deuteranopia (green-blind)
#74798A
Tritanopia (blue-blind)
#B9546A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #af548c;
/* rgb */ color: rgb(175, 84, 140);
/* oklch */ color: oklch(57.5% 0.136 344.4);
Tailwind
colors: {
  custom: {
    50: '#c987ad',
    500: '#af548c',
    950: '#000000',
  },
}
SCSS
$custom: #af548c;
$custom-light: #c987ad;
$custom-dark: #000000;
JSON
{
  "hex": "#af548c",
  "rgb": {
    "r": 175,
    "g": 84,
    "b": 140
  },
  "hsl": {
    "h": 323.077,
    "s": 36.255,
    "l": 50.784
  },
  "oklch": {
    "l": 0.57545,
    "c": 0.13608,
    "h": 344.4
  },
  "luminance": 0.17348
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF548C

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

Preview Lab → · Contrast checker → · Palette generator →

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