#AF4A5D#AF4A5D

#AF4A5D is a mid, vivid red. Relative luminance 0.148; OKLCH L 54.6% C 0.133 H 11.0°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#AF4A5D
RGBrgb(175, 74, 93)
HSLhsl(349, 41%, 49%)
HSVhsv(349, 58%, 69%)
CMYKcmyk(0%, 57.7%, 46.9%, 31.4%)
CIE-LABlab(45.37, 42.98, 9.79)
CIE-LCHlch(45.37, 44.08, 12.83°)
OKLaboklab(54.58% 0.1303 0.0253)
OKLCHoklch(54.58% 0.133 11)
XYZxyz(22.1053, 14.8044, 12.0472)
Luminance0.1480 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4A5D #4AAF9C
analogous
#AF4A90 #AF4A5D #AF6A4A
triadic
#AF4A5D #5DAF4A #4A5DAF
tetradic
#AF4A5D #90AF4A #4AAF9C #6A4AAF
square
#AF4A5D #90AF4A #4AAF9C #6A4AAF
split-complementary
#AF4A5D #4AAF6A #4A90AF
monochromatic
#59262F #843846 #AF4A5D #C47382 #D69EA8

Accessibility & contrast

On white

5.30
#AF4A5D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#AF4A5D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4A5D
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4A5D#FFFFFF#000000##FFFFFF
##AF4A5D1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5F5D
Deuteranopia (green-blind)
#79735B
Tritanopia (blue-blind)
#BE3D51
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #af4a5d;
/* rgb */ color: rgb(175, 74, 93);
/* oklch */ color: oklch(54.6% 0.133 11.0);
Tailwind
colors: {
  custom: {
    50: '#cb808a',
    500: '#af4a5d',
    950: '#000000',
  },
}
SCSS
$custom: #af4a5d;
$custom-light: #cb808a;
$custom-dark: #000000;
JSON
{
  "hex": "#af4a5d",
  "rgb": {
    "r": 175,
    "g": 74,
    "b": 93
  },
  "hsl": {
    "h": 348.713,
    "s": 40.562,
    "l": 48.824
  },
  "oklch": {
    "l": 0.54576,
    "c": 0.13268,
    "h": 11
  },
  "luminance": 0.14802
}

Semantic roles & 50–950 ramp

primary
#AF4A5D
secondary
#92C2B9
accent
#D0BA57
background
#FDF8F8
surface
#FAEFF0
border
#D3CACB
text
#140A0B
muted
#837C7C

Preview Lab

Preview with #AF4A5D

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

Preview Lab → · Contrast checker → · Palette generator →

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