#AF3A6A#AF3A6A

#AF3A6A is a mid, vivid pink. Relative luminance 0.132; OKLCH L 53.0% C 0.158 H 358.7°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#AF3A6A
RGBrgb(175, 58, 106)
HSLhsl(335, 50%, 46%)
HSVhsv(335, 67%, 69%)
CMYKcmyk(0%, 66.9%, 39.4%, 31.4%)
CIE-LABlab(43.04, 51.57, -1.57)
CIE-LCHlch(43.04, 51.59, 358.25°)
OKLaboklab(52.96% 0.1578 -0.0035)
OKLCHoklch(52.96% 0.158 358.7)
XYZxyz(21.7952, 13.1832, 15.0297)
Luminance0.1318 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3A6A #3AAF7F
analogous
#AF3AA4 #AF3A6A #AF443A
triadic
#AF3A6A #6AAF3A #3A6AAF
tetradic
#AF3A6A #A4AF3A #3AAF7F #443AAF
square
#AF3A6A #A4AF3A #3AAF7F #443AAF
split-complementary
#AF3A6A #3AAF44 #3AA4AF
monochromatic
#531C32 #812B4E #AF3A6A #C95D89 #D98BAB

Accessibility & contrast

On white

5.78
#AF3A6A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#AF3A6A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3A6A
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3A6A#FFFFFF#000000##FFFFFF
##AF3A6A1.005.783.645.78
#FFFFFF5.781.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50586B
Deuteranopia (green-blind)
#706E67
Tritanopia (blue-blind)
#BD2E4D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #af3a6a;
/* rgb */ color: rgb(175, 58, 106);
/* oklch */ color: oklch(53.0% 0.158 358.7);
Tailwind
colors: {
  custom: {
    50: '#cb7894',
    500: '#af3a6a',
    950: '#000000',
  },
}
SCSS
$custom: #af3a6a;
$custom-light: #cb7894;
$custom-dark: #000000;
JSON
{
  "hex": "#af3a6a",
  "rgb": {
    "r": 175,
    "g": 58,
    "b": 106
  },
  "hsl": {
    "h": 335.385,
    "s": 50.215,
    "l": 45.686
  },
  "oklch": {
    "l": 0.52958,
    "c": 0.15785,
    "h": 358.7
  },
  "luminance": 0.13181
}

Semantic roles & 50–950 ramp

primary
#AF3A6A
secondary
#82C3A8
accent
#DAA04E
background
#FDF7F9
surface
#FAEEF1
border
#D3C9CB
text
#14090D
muted
#837B7E

Preview Lab

Preview with #AF3A6A

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

Preview Lab → · Contrast checker → · Palette generator →

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