#AF415B#AF415B

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

Color values

HEX#AF415B
RGBrgb(175, 65, 91)
HSLhsl(346, 46%, 47%)
HSVhsv(346, 63%, 69%)
CMYKcmyk(0%, 62.9%, 48%, 31.4%)
CIE-LABlab(43.73, 47.00, 8.72)
CIE-LCHlch(43.73, 47.80, 10.51°)
OKLaboklab(53.34% 0.1428 0.0226)
OKLCHoklch(53.34% 0.145 9)
XYZxyz(21.4595, 13.6525, 11.4006)
Luminance0.1365 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF415B #41AF95
analogous
#AF4192 #AF415B #AF5E41
triadic
#AF415B #5BAF41 #415BAF
tetradic
#AF415B #92AF41 #41AF95 #5E41AF
square
#AF415B #92AF41 #41AF95 #5E41AF
split-complementary
#AF415B #41AF5E #4192AF
monochromatic
#56202D #823044 #AF415B #C6677D #D793A3

Accessibility & contrast

On white

5.63
#AF415B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF415B
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF415B#FFFFFF#000000##FFFFFF
##AF415B1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#59595C
Deuteranopia (green-blind)
#757058
Tritanopia (blue-blind)
#BE314B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #af415b;
/* rgb */ color: rgb(175, 65, 91);
/* oklch */ color: oklch(53.3% 0.145 9.0);
Tailwind
colors: {
  custom: {
    50: '#cc7b89',
    500: '#af415b',
    950: '#000000',
  },
}
SCSS
$custom: #af415b;
$custom-light: #cc7b89;
$custom-dark: #000000;
JSON
{
  "hex": "#af415b",
  "rgb": {
    "r": 175,
    "g": 65,
    "b": 91
  },
  "hsl": {
    "h": 345.818,
    "s": 45.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.53335,
    "c": 0.14455,
    "h": 9
  },
  "luminance": 0.1365
}

Semantic roles & 50–950 ramp

primary
#AF415B
secondary
#89C2B5
accent
#D5B652
background
#FDF7F8
surface
#FAEEF0
border
#D3C9CB
text
#140A0B
muted
#837C7C

Preview Lab

Preview with #AF415B

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

Preview Lab → · Contrast checker → · Palette generator →

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