#AF4E5C#AF4E5C

#AF4E5C is a mid, vivid red. Relative luminance 0.153; OKLCH L 55.1% C 0.127 H 13.3°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#AF4E5C
RGBrgb(175, 78, 92)
HSLhsl(351, 38%, 50%)
HSVhsv(351, 55%, 69%)
CMYKcmyk(0%, 55.4%, 47.4%, 31.4%)
CIE-LABlab(46.09, 40.91, 11.42)
CIE-LCHlch(46.09, 42.47, 15.59°)
OKLaboklab(55.12% 0.1237 0.0293)
OKLCHoklch(55.12% 0.127 13.3)
XYZxyz(22.3369, 15.3379, 11.9073)
Luminance0.1533 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4E5C #4EAFA1
analogous
#AF4E8D #AF4E5C #AF704E
triadic
#AF4E5C #5CAF4E #4E5CAF
tetradic
#AF4E5C #8DAF4E #4EAFA1 #704EAF
square
#AF4E5C #8DAF4E #4EAFA1 #704EAF
split-complementary
#AF4E5C #4EAF70 #4E8DAF
monochromatic
#5A282F #853B46 #AF4E5C #C37882 #D6A2A9

Accessibility & contrast

On white

5.16
#AF4E5C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#AF4E5C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4E5C
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4E5C#FFFFFF#000000##FFFFFF
##AF4E5C1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#63615C
Deuteranopia (green-blind)
#7B755A
Tritanopia (blue-blind)
#BE4153
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #af4e5c;
/* rgb */ color: rgb(175, 78, 92);
/* oklch */ color: oklch(55.1% 0.127 13.3);
Tailwind
colors: {
  custom: {
    50: '#cb838a',
    500: '#af4e5c',
    950: '#000000',
  },
}
SCSS
$custom: #af4e5c;
$custom-light: #cb838a;
$custom-dark: #000000;
JSON
{
  "hex": "#af4e5c",
  "rgb": {
    "r": 175,
    "g": 78,
    "b": 92
  },
  "hsl": {
    "h": 351.34,
    "s": 38.34,
    "l": 49.608
  },
  "oklch": {
    "l": 0.55116,
    "c": 0.12708,
    "h": 13.3
  },
  "luminance": 0.15335
}

Semantic roles & 50–950 ramp

primary
#AF4E5C
secondary
#96C3BC
accent
#CEBD5A
background
#FDF8F8
surface
#FAEFF0
border
#D3CACB
text
#140B0B
muted
#837C7C

Preview Lab

Preview with #AF4E5C

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

Preview Lab → · Contrast checker → · Palette generator →

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