#AF4845#AF4845

#AF4845 is a mid, vivid red. Relative luminance 0.142; OKLCH L 53.8% C 0.136 H 24.4°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#AF4845
RGBrgb(175, 72, 69)
HSLhsl(2, 43%, 48%)
HSVhsv(2, 61%, 69%)
CMYKcmyk(0%, 58.9%, 60.6%, 31.4%)
CIE-LABlab(44.49, 41.88, 23.21)
CIE-LCHlch(44.49, 47.88, 28.99°)
OKLaboklab(53.75% 0.1236 0.0561)
OKLCHoklch(53.75% 0.136 24.4)
XYZxyz(21.0726, 14.1810, 7.2566)
Luminance0.1418 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4845 #45ACAF
analogous
#AF4577 #AF4845 #AF7D45
triadic
#AF4845 #45AF48 #4845AF
tetradic
#AF4845 #77AF45 #45ACAF #7D45AF
square
#AF4845 #77AF45 #45ACAF #7D45AF
split-complementary
#AF4845 #45AF7D #4577AF
monochromatic
#572422 #833634 #AF4845 #C56F6C #D69A98

Accessibility & contrast

On white

5.48
#AF4845 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#AF4845 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4845
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4845#FFFFFF#000000##FFFFFF
##AF48451.005.483.845.48
#FFFFFF5.481.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625C44
Deuteranopia (green-blind)
#7B7143
Tritanopia (blue-blind)
#BF3548
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #af4845;
/* rgb */ color: rgb(175, 72, 69);
/* oklch */ color: oklch(53.8% 0.136 24.4);
Tailwind
colors: {
  custom: {
    50: '#cc7f78',
    500: '#af4845',
    950: '#000000',
  },
}
SCSS
$custom: #af4845;
$custom-light: #cc7f78;
$custom-dark: #000000;
JSON
{
  "hex": "#af4845",
  "rgb": {
    "r": 175,
    "g": 72,
    "b": 69
  },
  "hsl": {
    "h": 1.698,
    "s": 43.443,
    "l": 47.843
  },
  "oklch": {
    "l": 0.53754,
    "c": 0.13576,
    "h": 24.4
  },
  "luminance": 0.14178
}

Semantic roles & 50–950 ramp

primary
#AF4845
secondary
#8DC1C2
accent
#D0D355
background
#FDF7F7
surface
#FAEEED
border
#D3C9C8
text
#140A09
muted
#837C7B

Preview Lab

Preview with #AF4845

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

Preview Lab → · Contrast checker → · Palette generator →

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