#AF415D#AF415D

#AF415D is a mid, vivid pink. Relative luminance 0.137; OKLCH L 53.4% C 0.145 H 7.8°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#AF415D
RGBrgb(175, 65, 93)
HSLhsl(345, 46%, 47%)
HSVhsv(345, 63%, 69%)
CMYKcmyk(0%, 62.9%, 46.9%, 31.4%)
CIE-LABlab(43.78, 47.19, 7.55)
CIE-LCHlch(43.78, 47.80, 9.09°)
OKLaboklab(53.39% 0.1435 0.0197)
OKLCHoklch(53.39% 0.145 7.8)
XYZxyz(21.5469, 13.6875, 11.8611)
Luminance0.1368 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF415D #41AF93
analogous
#AF4194 #AF415D #AF5C41
triadic
#AF415D #5DAF41 #415DAF
tetradic
#AF415D #94AF41 #41AF93 #5C41AF
square
#AF415D #94AF41 #41AF93 #5C41AF
split-complementary
#AF415D #41AF5C #4194AF
monochromatic
#56202E #823045 #AF415D #C6677F #D793A5

Accessibility & contrast

On white

5.62
#AF415D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#AF415D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF415D
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF415D#FFFFFF#000000##FFFFFF
##AF415D1.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#585A5E
Deuteranopia (green-blind)
#75705A
Tritanopia (blue-blind)
#BE324C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #af415d;
/* rgb */ color: rgb(175, 65, 93);
/* oklch */ color: oklch(53.4% 0.145 7.8);
Tailwind
colors: {
  custom: {
    50: '#cc7b8a',
    500: '#af415d',
    950: '#000000',
  },
}
SCSS
$custom: #af415d;
$custom-light: #cc7b8a;
$custom-dark: #000000;
JSON
{
  "hex": "#af415d",
  "rgb": {
    "r": 175,
    "g": 65,
    "b": 93
  },
  "hsl": {
    "h": 344.727,
    "s": 45.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.5339,
    "c": 0.14489,
    "h": 7.8
  },
  "luminance": 0.13685
}

Semantic roles & 50–950 ramp

primary
#AF415D
secondary
#89C2B4
accent
#D5B452
background
#FDF7F8
surface
#FAEEF0
border
#D3C9CB
text
#140A0B
muted
#837C7C

Preview Lab

Preview with #AF415D

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

Preview Lab → · Contrast checker → · Palette generator →

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