#AF3F62#AF3F62

#AF3F62 is a mid, vivid pink. Relative luminance 0.136; OKLCH L 53.3% C 0.149 H 4.4°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#AF3F62
RGBrgb(175, 63, 98)
HSLhsl(341, 47%, 47%)
HSVhsv(341, 64%, 69%)
CMYKcmyk(0%, 64%, 44%, 31.4%)
CIE-LABlab(43.59, 48.58, 4.18)
CIE-LCHlch(43.59, 48.76, 4.92°)
OKLaboklab(53.29% 0.1482 0.0113)
OKLCHoklch(53.29% 0.149 4.4)
XYZxyz(21.6628, 13.5534, 13.0282)
Luminance0.1355 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3F62 #3FAF8C
analogous
#AF3F9A #AF3F62 #AF543F
triadic
#AF3F62 #62AF3F #3F62AF
tetradic
#AF3F62 #9AAF3F #3FAF8C #543FAF
square
#AF3F62 #9AAF3F #3FAF8C #543FAF
split-complementary
#AF3F62 #3FAF54 #3F9AAF
monochromatic
#551F30 #822F49 #AF3F62 #C76483 #D791A7

Accessibility & contrast

On white

5.66
#AF3F62 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#AF3F62 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3F62
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3F62#FFFFFF#000000##FFFFFF
##AF3F621.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#565963
Deuteranopia (green-blind)
#736F5F
Tritanopia (blue-blind)
#BE314D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #af3f62;
/* rgb */ color: rgb(175, 63, 98);
/* oklch */ color: oklch(53.3% 0.149 4.4);
Tailwind
colors: {
  custom: {
    50: '#cb7a8e',
    500: '#af3f62',
    950: '#000000',
  },
}
SCSS
$custom: #af3f62;
$custom-light: #cb7a8e;
$custom-dark: #000000;
JSON
{
  "hex": "#af3f62",
  "rgb": {
    "r": 175,
    "g": 63,
    "b": 98
  },
  "hsl": {
    "h": 341.25,
    "s": 47.059,
    "l": 46.667
  },
  "oklch": {
    "l": 0.53288,
    "c": 0.14867,
    "h": 4.4
  },
  "luminance": 0.13551
}

Semantic roles & 50–950 ramp

primary
#AF3F62
secondary
#87C3B0
accent
#D7AD51
background
#FDF7F8
surface
#FAEEF0
border
#D3C9CB
text
#140A0C
muted
#837C7D

Preview Lab

Preview with #AF3F62

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

Preview Lab → · Contrast checker → · Palette generator →

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