#AF4E5D#AF4E5D

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

Color values

HEX#AF4E5D
RGBrgb(175, 78, 93)
HSLhsl(351, 38%, 50%)
HSVhsv(351, 55%, 69%)
CMYKcmyk(0%, 55.4%, 46.9%, 31.4%)
CIE-LABlab(46.12, 41.01, 10.84)
CIE-LCHlch(46.12, 42.42, 14.81°)
OKLaboklab(55.14% 0.1241 0.0279)
OKLCHoklch(55.14% 0.127 12.7)
XYZxyz(22.3809, 15.3555, 12.1391)
Luminance0.1535 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4E5D #4EAFA0
analogous
#AF4E8D #AF4E5D #AF704E
triadic
#AF4E5D #5DAF4E #4E5DAF
tetradic
#AF4E5D #8DAF4E #4EAFA0 #704EAF
square
#AF4E5D #8DAF4E #4EAFA0 #704EAF
split-complementary
#AF4E5D #4EAF70 #4E8DAF
monochromatic
#5A2830 #853B47 #AF4E5D #C37883 #D6A2AA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF4E5D#FFFFFF#000000##FFFFFF
##AF4E5D1.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)
#62615D
Deuteranopia (green-blind)
#7B755B
Tritanopia (blue-blind)
#BE4154
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #af4e5d;
/* rgb */ color: rgb(175, 78, 93);
/* oklch */ color: oklch(55.1% 0.127 12.7);
Tailwind
colors: {
  custom: {
    50: '#cb838a',
    500: '#af4e5d',
    950: '#000000',
  },
}
SCSS
$custom: #af4e5d;
$custom-light: #cb838a;
$custom-dark: #000000;
JSON
{
  "hex": "#af4e5d",
  "rgb": {
    "r": 175,
    "g": 78,
    "b": 93
  },
  "hsl": {
    "h": 350.722,
    "s": 38.34,
    "l": 49.608
  },
  "oklch": {
    "l": 0.55142,
    "c": 0.12716,
    "h": 12.7
  },
  "luminance": 0.15353
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF4E5D

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

Preview Lab → · Contrast checker → · Palette generator →

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