#AF3A58#AF3A58

#AF3A58 is a mid, vivid pink. Relative luminance 0.128; OKLCH L 52.4% C 0.153 H 8.6°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#AF3A58
RGBrgb(175, 58, 88)
HSLhsl(345, 50%, 46%)
HSVhsv(345, 67%, 69%)
CMYKcmyk(0%, 66.9%, 49.7%, 31.4%)
CIE-LABlab(42.53, 49.76, 8.89)
CIE-LCHlch(42.53, 50.55, 10.13°)
OKLaboklab(52.42% 0.1513 0.023)
OKLCHoklch(52.42% 0.153 8.6)
XYZxyz(20.9554, 12.8473, 10.6069)
Luminance0.1285 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3A58 #3AAF91
analogous
#AF3A93 #AF3A58 #AF563A
triadic
#AF3A58 #58AF3A #3A58AF
tetradic
#AF3A58 #93AF3A #3AAF91 #563AAF
square
#AF3A58 #93AF3A #3AAF91 #563AAF
split-complementary
#AF3A58 #3AAF56 #3A93AF
monochromatic
#531C2A #812B41 #AF3A58 #C95D79 #D98B9F

Accessibility & contrast

On white

5.88
#AF3A58 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#AF3A58 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3A58
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3A58#FFFFFF#000000##FFFFFF
##AF3A581.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#555659
Deuteranopia (green-blind)
#736D55
Tritanopia (blue-blind)
#BE2746
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #af3a58;
/* rgb */ color: rgb(175, 58, 88);
/* oklch */ color: oklch(52.4% 0.153 8.6);
Tailwind
colors: {
  custom: {
    50: '#cc7786',
    500: '#af3a58',
    950: '#000000',
  },
}
SCSS
$custom: #af3a58;
$custom-light: #cc7786;
$custom-dark: #000000;
JSON
{
  "hex": "#af3a58",
  "rgb": {
    "r": 175,
    "g": 58,
    "b": 88
  },
  "hsl": {
    "h": 344.615,
    "s": 50.215,
    "l": 45.686
  },
  "oklch": {
    "l": 0.52418,
    "c": 0.15301,
    "h": 8.6
  },
  "luminance": 0.12845
}

Semantic roles & 50–950 ramp

primary
#AF3A58
secondary
#82C3B2
accent
#DAB64E
background
#FDF7F8
surface
#FAEEEF
border
#D3C9CA
text
#14090B
muted
#837B7C

Preview Lab

Preview with #AF3A58

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

Preview Lab → · Contrast checker → · Palette generator →

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