#AF4162#AF4162

#AF4162 is a mid, vivid pink. Relative luminance 0.138; OKLCH L 53.5% C 0.146 H 4.9°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#AF4162
RGBrgb(175, 65, 98)
HSLhsl(342, 46%, 47%)
HSVhsv(342, 63%, 69%)
CMYKcmyk(0%, 62.9%, 44%, 31.4%)
CIE-LABlab(43.91, 47.70, 4.65)
CIE-LCHlch(43.91, 47.92, 5.57°)
OKLaboklab(53.53% 0.1454 0.0125)
OKLCHoklch(53.53% 0.146 4.9)
XYZxyz(21.7756, 13.7790, 13.0658)
Luminance0.1378 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4162 #41AF8E
analogous
#AF4199 #AF4162 #AF5741
triadic
#AF4162 #62AF41 #4162AF
tetradic
#AF4162 #99AF41 #41AF8E #5741AF
square
#AF4162 #99AF41 #41AF8E #5741AF
split-complementary
#AF4162 #41AF57 #4199AF
monochromatic
#562030 #823049 #AF4162 #C66783 #D793A8

Accessibility & contrast

On white

5.59
#AF4162 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#AF4162 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4162
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4162#FFFFFF#000000##FFFFFF
##AF41621.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#575A63
Deuteranopia (green-blind)
#74705F
Tritanopia (blue-blind)
#BE334E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #af4162;
/* rgb */ color: rgb(175, 65, 98);
/* oklch */ color: oklch(53.5% 0.146 4.9);
Tailwind
colors: {
  custom: {
    50: '#cb7b8e',
    500: '#af4162',
    950: '#000000',
  },
}
SCSS
$custom: #af4162;
$custom-light: #cb7b8e;
$custom-dark: #000000;
JSON
{
  "hex": "#af4162",
  "rgb": {
    "r": 175,
    "g": 65,
    "b": 98
  },
  "hsl": {
    "h": 342,
    "s": 45.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.53533,
    "c": 0.14597,
    "h": 4.9
  },
  "luminance": 0.13776
}

Semantic roles & 50–950 ramp

primary
#AF4162
secondary
#89C2B1
accent
#D5AE52
background
#FDF7F8
surface
#FAEEF0
border
#D3C9CB
text
#140A0C
muted
#837C7D

Preview Lab

Preview with #AF4162

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

Preview Lab → · Contrast checker → · Palette generator →

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