#AF415C#AF415C

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

Color values

HEX#AF415C
RGBrgb(175, 65, 92)
HSLhsl(345, 46%, 47%)
HSVhsv(345, 63%, 69%)
CMYKcmyk(0%, 62.9%, 47.4%, 31.4%)
CIE-LABlab(43.76, 47.10, 8.14)
CIE-LCHlch(43.76, 47.79, 9.80°)
OKLaboklab(53.36% 0.1432 0.0212)
OKLCHoklch(53.36% 0.145 8.4)
XYZxyz(21.5029, 13.6699, 11.6293)
Luminance0.1367 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF415C #41AF94
analogous
#AF4193 #AF415C #AF5D41
triadic
#AF415C #5CAF41 #415CAF
tetradic
#AF415C #93AF41 #41AF94 #5D41AF
square
#AF415C #93AF41 #41AF94 #5D41AF
split-complementary
#AF415C #41AF5D #4193AF
monochromatic
#56202D #823045 #AF415C #C6677E #D793A4

Accessibility & contrast

On white

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

On black

3.73
#AF415C on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##AF415C#FFFFFF#000000##FFFFFF
##AF415C1.005.623.735.62
#FFFFFF5.621.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#595A5D
Deuteranopia (green-blind)
#757059
Tritanopia (blue-blind)
#BE324B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #af415c;
/* rgb */ color: rgb(175, 65, 92);
/* oklch */ color: oklch(53.4% 0.145 8.4);
Tailwind
colors: {
  custom: {
    50: '#cc7b8a',
    500: '#af415c',
    950: '#000000',
  },
}
SCSS
$custom: #af415c;
$custom-light: #cc7b8a;
$custom-dark: #000000;
JSON
{
  "hex": "#af415c",
  "rgb": {
    "r": 175,
    "g": 65,
    "b": 92
  },
  "hsl": {
    "h": 345.273,
    "s": 45.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.53362,
    "c": 0.14472,
    "h": 8.4
  },
  "luminance": 0.13667
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF415C

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

Preview Lab → · Contrast checker → · Palette generator →

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