#AF548F#AF548F

#AF548F is a mid, vivid pink. Relative luminance 0.174; OKLCH L 57.7% C 0.138 H 342.7°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#AF548F
RGBrgb(175, 84, 143)
HSLhsl(321, 36%, 51%)
HSVhsv(321, 52%, 69%)
CMYKcmyk(0%, 52%, 18.3%, 31.4%)
CIE-LABlab(48.81, 44.42, -15.42)
CIE-LCHlch(48.81, 47.02, 340.85°)
OKLaboklab(57.66% 0.1319 -0.0411)
OKLCHoklch(57.66% 0.138 342.7)
XYZxyz(25.8079, 17.4398, 27.9882)
Luminance0.1744 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF548F #54AF74
analogous
#A154AF #AF548F #AF5461
triadic
#AF548F #8FAF54 #548FAF
tetradic
#AF548F #AFA154 #54AF74 #5461AF
square
#AF548F #AFA154 #54AF74 #5461AF
split-complementary
#AF548F #61AF54 #54AFA1
monochromatic
#5D2C4C #873F6E #AF548F #C37EAA #D6A7C6

Accessibility & contrast

On white

4.68
#AF548F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#AF548F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF548F
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF548F#FFFFFF#000000##FFFFFF
##AF548F1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A6B91
Deuteranopia (green-blind)
#73798D
Tritanopia (blue-blind)
#B9546B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #af548f;
/* rgb */ color: rgb(175, 84, 143);
/* oklch */ color: oklch(57.7% 0.138 342.7);
Tailwind
colors: {
  custom: {
    50: '#c987af',
    500: '#af548f',
    950: '#000000',
  },
}
SCSS
$custom: #af548f;
$custom-light: #c987af;
$custom-dark: #000000;
JSON
{
  "hex": "#af548f",
  "rgb": {
    "r": 175,
    "g": 84,
    "b": 143
  },
  "hsl": {
    "h": 321.099,
    "s": 36.255,
    "l": 50.784
  },
  "oklch": {
    "l": 0.57664,
    "c": 0.13814,
    "h": 342.7
  },
  "luminance": 0.17438
}

Semantic roles & 50–950 ramp

primary
#AF548F
secondary
#9BC4A9
accent
#CC835C
background
#FCF8FA
surface
#F9F0F4
border
#D2CBCE
text
#130C10
muted
#827D7F

Preview Lab

Preview with #AF548F

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

Preview Lab → · Contrast checker → · Palette generator →

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