#AF4156#AF4156

#AF4156 is a mid, vivid red. Relative luminance 0.136; OKLCH L 53.2% C 0.144 H 11.9°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#AF4156
RGBrgb(175, 65, 86)
HSLhsl(349, 46%, 47%)
HSVhsv(349, 63%, 69%)
CMYKcmyk(0%, 62.9%, 50.9%, 31.4%)
CIE-LABlab(43.61, 46.54, 11.64)
CIE-LCHlch(43.61, 47.97, 14.04°)
OKLaboklab(53.2% 0.1408 0.0297)
OKLCHoklch(53.2% 0.144 11.9)
XYZxyz(21.2509, 13.5691, 10.3023)
Luminance0.1357 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4156 #41AF9A
analogous
#AF418D #AF4156 #AF6341
triadic
#AF4156 #56AF41 #4156AF
tetradic
#AF4156 #8DAF41 #41AF9A #6341AF
square
#AF4156 #8DAF41 #41AF9A #6341AF
split-complementary
#AF4156 #41AF63 #418DAF
monochromatic
#56202A #823040 #AF4156 #C66779 #D793A0

Accessibility & contrast

On white

5.66
#AF4156 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#AF4156 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4156
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4156#FFFFFF#000000##FFFFFF
##AF41561.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A5956
Deuteranopia (green-blind)
#766F53
Tritanopia (blue-blind)
#BE3049
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #af4156;
/* rgb */ color: rgb(175, 65, 86);
/* oklch */ color: oklch(53.2% 0.144 11.9);
Tailwind
colors: {
  custom: {
    50: '#cc7b85',
    500: '#af4156',
    950: '#000000',
  },
}
SCSS
$custom: #af4156;
$custom-light: #cc7b85;
$custom-dark: #000000;
JSON
{
  "hex": "#af4156",
  "rgb": {
    "r": 175,
    "g": 65,
    "b": 86
  },
  "hsl": {
    "h": 348.545,
    "s": 45.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.53204,
    "c": 0.1439,
    "h": 11.9
  },
  "luminance": 0.13566
}

Semantic roles & 50–950 ramp

primary
#AF4156
secondary
#89C2B8
accent
#D5BC52
background
#FDF7F8
surface
#FAEEEF
border
#D3C9CA
text
#140A0B
muted
#837C7C

Preview Lab

Preview with #AF4156

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

Preview Lab → · Contrast checker → · Palette generator →

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