#AF4161#AF4161

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

Color values

HEX#AF4161
RGBrgb(175, 65, 97)
HSLhsl(343, 46%, 47%)
HSVhsv(343, 63%, 69%)
CMYKcmyk(0%, 62.9%, 44.6%, 31.4%)
CIE-LABlab(43.89, 47.59, 5.23)
CIE-LCHlch(43.89, 47.88, 6.27°)
OKLaboklab(53.5% 0.1451 0.014)
OKLCHoklch(53.5% 0.146 5.5)
XYZxyz(21.7287, 13.7602, 12.8187)
Luminance0.1376 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4161 #41AF8F
analogous
#AF4198 #AF4161 #AF5841
triadic
#AF4161 #61AF41 #4161AF
tetradic
#AF4161 #98AF41 #41AF8F #5841AF
square
#AF4161 #98AF41 #41AF8F #5841AF
split-complementary
#AF4161 #41AF58 #4198AF
monochromatic
#562030 #823048 #AF4161 #C66783 #D793A7

Accessibility & contrast

On white

5.60
#AF4161 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#AF4161 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4161
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4161#FFFFFF#000000##FFFFFF
##AF41611.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#575A62
Deuteranopia (green-blind)
#74705E
Tritanopia (blue-blind)
#BE334D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #af4161;
/* rgb */ color: rgb(175, 65, 97);
/* oklch */ color: oklch(53.5% 0.146 5.5);
Tailwind
colors: {
  custom: {
    50: '#cb7b8d',
    500: '#af4161',
    950: '#000000',
  },
}
SCSS
$custom: #af4161;
$custom-light: #cb7b8d;
$custom-dark: #000000;
JSON
{
  "hex": "#af4161",
  "rgb": {
    "r": 175,
    "g": 65,
    "b": 97
  },
  "hsl": {
    "h": 342.545,
    "s": 45.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.53503,
    "c": 0.14573,
    "h": 5.5
  },
  "luminance": 0.13758
}

Semantic roles & 50–950 ramp

primary
#AF4161
secondary
#89C2B2
accent
#D5AF52
background
#FDF7F8
surface
#FAEEF0
border
#D3C9CB
text
#140A0C
muted
#837C7D

Preview Lab

Preview with #AF4161

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

Preview Lab → · Contrast checker → · Palette generator →

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