#AF358A#AF358A

#AF358A is a mid, vivid pink. Relative luminance 0.135; OKLCH L 53.7% C 0.181 H 342.3°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#AF358A
RGBrgb(175, 53, 138)
HSLhsl(318, 54%, 45%)
HSVhsv(318, 70%, 69%)
CMYKcmyk(0%, 69.7%, 21.1%, 31.4%)
CIE-LABlab(43.50, 57.52, -20.53)
CIE-LCHlch(43.50, 61.07, 340.35°)
OKLaboklab(53.69% 0.1725 -0.055)
OKLCHoklch(53.69% 0.181 342.3)
XYZxyz(23.5405, 13.4975, 25.4053)
Luminance0.1349 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF358A #35AF5A
analogous
#9735AF #AF358A #AF354D
triadic
#AF358A #8AAF35 #358AAF
tetradic
#AF358A #AF9735 #35AF5A #354DAF
square
#AF358A #AF9735 #35AF5A #354DAF
split-complementary
#AF358A #4DAF35 #35AF97
monochromatic
#511940 #802765 #AF358A #CC56A8 #DA85C0

Accessibility & contrast

On white

5.68
#AF358A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#AF358A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF358A
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF358A#FFFFFF#000000##FFFFFF
##AF358A1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405A8C
Deuteranopia (green-blind)
#656E87
Tritanopia (blue-blind)
#BA365B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #af358a;
/* rgb */ color: rgb(175, 53, 138);
/* oklch */ color: oklch(53.7% 0.181 342.3);
Tailwind
colors: {
  custom: {
    50: '#cb76ac',
    500: '#af358a',
    950: '#000000',
  },
}
SCSS
$custom: #af358a;
$custom-light: #cb76ac;
$custom-dark: #000000;
JSON
{
  "hex": "#af358a",
  "rgb": {
    "r": 175,
    "g": 53,
    "b": 138
  },
  "hsl": {
    "h": 318.197,
    "s": 53.509,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53686,
    "c": 0.18104,
    "h": 342.3
  },
  "luminance": 0.13495
}

Semantic roles & 50–950 ramp

primary
#AF358A
secondary
#7CC492
accent
#DD774B
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AF358A

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

Preview Lab → · Contrast checker → · Palette generator →

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