#AF4747#AF4747

#AF4747 is a mid, vivid red. Relative luminance 0.141; OKLCH L 53.7% C 0.137 H 22.8°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#AF4747
RGBrgb(175, 71, 71)
HSLhsl(0, 42%, 48%)
HSVhsv(0, 59%, 69%)
CMYKcmyk(0%, 59.4%, 59.4%, 31.4%)
CIE-LABlab(44.34, 42.51, 21.81)
CIE-LCHlch(44.34, 47.78, 27.16°)
OKLaboklab(53.65% 0.1259 0.053)
OKLCHoklch(53.65% 0.137 22.8)
XYZxyz(21.0716, 14.0780, 7.5677)
Luminance0.1407 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4747 #47AFAF
analogous
#AF477B #AF4747 #AF7B47
triadic
#AF4747 #47AF47 #4747AF
tetradic
#AF4747 #7BAF47 #47AFAF #7B47AF
square
#AF4747 #7BAF47 #47AFAF #7B47AF
split-complementary
#AF4747 #47AF7B #477BAF
monochromatic
#582424 #833535 #AF4747 #C46F6F #D69A9A

Accessibility & contrast

On white

5.50
#AF4747 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#AF4747 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4747
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4747#FFFFFF#000000##FFFFFF
##AF47471.005.503.815.50
#FFFFFF5.501.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615B46
Deuteranopia (green-blind)
#7B7145
Tritanopia (blue-blind)
#BF3448
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #af4747;
/* rgb */ color: rgb(175, 71, 71);
/* oklch */ color: oklch(53.7% 0.137 22.8);
Tailwind
colors: {
  custom: {
    50: '#cc7e7a',
    500: '#af4747',
    950: '#000000',
  },
}
SCSS
$custom: #af4747;
$custom-light: #cc7e7a;
$custom-dark: #000000;
JSON
{
  "hex": "#af4747",
  "rgb": {
    "r": 175,
    "g": 71,
    "b": 71
  },
  "hsl": {
    "h": 0,
    "s": 42.276,
    "l": 48.235
  },
  "oklch": {
    "l": 0.53655,
    "c": 0.13665,
    "h": 22.8
  },
  "luminance": 0.14075
}

Semantic roles & 50–950 ramp

primary
#AF4747
secondary
#8FC2C2
accent
#D2D256
background
#FDF7F7
surface
#FAEEED
border
#D3C9C8
text
#140A09
muted
#837C7B

Preview Lab

Preview with #AF4747

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

Preview Lab → · Contrast checker → · Palette generator →

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