#AF4F48#AF4F48

#AF4F48 is a mid, vivid red. Relative luminance 0.152; OKLCH L 54.8% C 0.127 H 26.3°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#AF4F48
RGBrgb(175, 79, 72)
HSLhsl(4, 42%, 48%)
HSVhsv(4, 59%, 69%)
CMYKcmyk(0%, 54.9%, 58.9%, 31.4%)
CIE-LABlab(45.87, 38.64, 23.20)
CIE-LCHlch(45.87, 45.07, 30.98°)
OKLaboklab(54.82% 0.114 0.0563)
OKLCHoklch(54.82% 0.127 26.3)
XYZxyz(21.6467, 15.1764, 7.9190)
Luminance0.1517 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4F48 #48A8AF
analogous
#AF4874 #AF4F48 #AF8248
triadic
#AF4F48 #48AF4F #4F48AF
tetradic
#AF4F48 #74AF48 #48A8AF #8248AF
square
#AF4F48 #74AF48 #48A8AF #8248AF
split-complementary
#AF4F48 #48AF82 #4874AF
monochromatic
#582824 #843B36 #AF4F48 #C47670 #D69F9B

Accessibility & contrast

On white

5.20
#AF4F48 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#AF4F48 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4F48
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4F48#FFFFFF#000000##FFFFFF
##AF4F481.005.204.035.20
#FFFFFF5.201.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#676047
Deuteranopia (green-blind)
#7E7446
Tritanopia (blue-blind)
#BF3E4E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #af4f48;
/* rgb */ color: rgb(175, 79, 72);
/* oklch */ color: oklch(54.8% 0.127 26.3);
Tailwind
colors: {
  custom: {
    50: '#cc837b',
    500: '#af4f48',
    950: '#000000',
  },
}
SCSS
$custom: #af4f48;
$custom-light: #cc837b;
$custom-dark: #000000;
JSON
{
  "hex": "#af4f48",
  "rgb": {
    "r": 175,
    "g": 79,
    "b": 72
  },
  "hsl": {
    "h": 4.078,
    "s": 41.7,
    "l": 48.431
  },
  "oklch": {
    "l": 0.54816,
    "c": 0.12714,
    "h": 26.3
  },
  "luminance": 0.15174
}

Semantic roles & 50–950 ramp

primary
#AF4F48
secondary
#90BFC2
accent
#C9D256
background
#FDF8F7
surface
#FAEFED
border
#D3CAC8
text
#140B09
muted
#837C7B

Preview Lab

Preview with #AF4F48

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

Preview Lab → · Contrast checker → · Palette generator →

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