#AF358F#AF358F

#AF358F is a mid, vivid pink. Relative luminance 0.136; OKLCH L 53.9% C 0.184 H 340.1°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#AF358F
RGBrgb(175, 53, 143)
HSLhsl(316, 54%, 45%)
HSVhsv(316, 70%, 69%)
CMYKcmyk(0%, 69.7%, 18.3%, 31.4%)
CIE-LABlab(43.72, 58.22, -23.23)
CIE-LCHlch(43.72, 62.69, 338.25°)
OKLaboklab(53.91% 0.1734 -0.0626)
OKLCHoklch(53.91% 0.184 340.1)
XYZxyz(23.9108, 13.6456, 27.3559)
Luminance0.1364 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF358F #35AF55
analogous
#9235AF #AF358F #AF3552
triadic
#AF358F #8FAF35 #358FAF
tetradic
#AF358F #AF9235 #35AF55 #3552AF
square
#AF358F #AF9235 #35AF55 #3552AF
split-complementary
#AF358F #52AF35 #35AF92
monochromatic
#511942 #802769 #AF358F #CC56AD #DA85C3

Accessibility & contrast

On white

5.63
#AF358F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#AF358F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF358F
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF358F#FFFFFF#000000##FFFFFF
##AF358F1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5B92
Deuteranopia (green-blind)
#636E8C
Tritanopia (blue-blind)
#B9385D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #af358f;
/* rgb */ color: rgb(175, 53, 143);
/* oklch */ color: oklch(53.9% 0.184 340.1);
Tailwind
colors: {
  custom: {
    50: '#ca76b0',
    500: '#af358f',
    950: '#000000',
  },
}
SCSS
$custom: #af358f;
$custom-light: #ca76b0;
$custom-dark: #000000;
JSON
{
  "hex": "#af358f",
  "rgb": {
    "r": 175,
    "g": 53,
    "b": 143
  },
  "hsl": {
    "h": 315.738,
    "s": 53.509,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53914,
    "c": 0.18433,
    "h": 340.1
  },
  "luminance": 0.13643
}

Semantic roles & 50–950 ramp

primary
#AF358F
secondary
#7CC48F
accent
#DD714B
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AF358F

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

Preview Lab → · Contrast checker → · Palette generator →

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