#AF4E5F#AF4E5F

#AF4E5F is a mid, vivid red. Relative luminance 0.154; OKLCH L 55.2% C 0.127 H 11.3°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#AF4E5F
RGBrgb(175, 78, 95)
HSLhsl(349, 38%, 50%)
HSVhsv(349, 55%, 69%)
CMYKcmyk(0%, 55.4%, 45.7%, 31.4%)
CIE-LABlab(46.17, 41.21, 9.69)
CIE-LCHlch(46.17, 42.34, 13.23°)
OKLaboklab(55.19% 0.1249 0.0251)
OKLCHoklch(55.19% 0.127 11.3)
XYZxyz(22.4707, 15.3914, 12.6117)
Luminance0.1539 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4E5F #4EAF9E
analogous
#AF4E8F #AF4E5F #AF6E4E
triadic
#AF4E5F #5FAF4E #4E5FAF
tetradic
#AF4E5F #8FAF4E #4EAF9E #6E4EAF
square
#AF4E5F #8FAF4E #4EAF9E #6E4EAF
split-complementary
#AF4E5F #4EAF6E #4E8FAF
monochromatic
#5A2831 #853B48 #AF4E5F #C37885 #D6A2AB

Accessibility & contrast

On white

5.15
#AF4E5F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#AF4E5F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4E5F
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4E5F#FFFFFF#000000##FFFFFF
##AF4E5F1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#62615F
Deuteranopia (green-blind)
#7B755D
Tritanopia (blue-blind)
#BE4254
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #af4e5f;
/* rgb */ color: rgb(175, 78, 95);
/* oklch */ color: oklch(55.2% 0.127 11.3);
Tailwind
colors: {
  custom: {
    50: '#cb838c',
    500: '#af4e5f',
    950: '#000000',
  },
}
SCSS
$custom: #af4e5f;
$custom-light: #cb838c;
$custom-dark: #000000;
JSON
{
  "hex": "#af4e5f",
  "rgb": {
    "r": 175,
    "g": 78,
    "b": 95
  },
  "hsl": {
    "h": 349.485,
    "s": 38.34,
    "l": 49.608
  },
  "oklch": {
    "l": 0.55194,
    "c": 0.12735,
    "h": 11.3
  },
  "luminance": 0.15389
}

Semantic roles & 50–950 ramp

primary
#AF4E5F
secondary
#96C3BB
accent
#CEBA5A
background
#FCF8F8
surface
#F9EFF0
border
#D2CACB
text
#140B0C
muted
#827C7D

Preview Lab

Preview with #AF4E5F

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

Preview Lab → · Contrast checker → · Palette generator →

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