#AF5145#AF5145

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

Color values

HEX#AF5145
RGBrgb(175, 81, 69)
HSLhsl(7, 43%, 48%)
HSVhsv(7, 61%, 69%)
CMYKcmyk(0%, 53.7%, 60.6%, 31.4%)
CIE-LABlab(46.22, 37.40, 25.42)
CIE-LCHlch(46.22, 45.22, 34.20°)
OKLaboklab(55.06% 0.1096 0.0611)
OKLCHoklch(55.06% 0.125 29.1)
XYZxyz(21.6977, 15.4311, 7.4649)
Luminance0.1543 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5145 #45A3AF
analogous
#AF456E #AF5145 #AF8645
triadic
#AF5145 #45AF51 #5145AF
tetradic
#AF5145 #6EAF45 #45A3AF #8645AF
square
#AF5145 #6EAF45 #45A3AF #8645AF
split-complementary
#AF5145 #45AF86 #456EAF
monochromatic
#572822 #833D34 #AF5145 #C5766C #D69F98

Accessibility & contrast

On white

5.14
#AF5145 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#AF5145 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF5145
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5145#FFFFFF#000000##FFFFFF
##AF51451.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#686144
Deuteranopia (green-blind)
#807543
Tritanopia (blue-blind)
#BF404E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #af5145;
/* rgb */ color: rgb(175, 81, 69);
/* oklch */ color: oklch(55.1% 0.125 29.1);
Tailwind
colors: {
  custom: {
    50: '#cc8479',
    500: '#af5145',
    950: '#000000',
  },
}
SCSS
$custom: #af5145;
$custom-light: #cc8479;
$custom-dark: #000000;
JSON
{
  "hex": "#af5145",
  "rgb": {
    "r": 175,
    "g": 81,
    "b": 69
  },
  "hsl": {
    "h": 6.792,
    "s": 43.443,
    "l": 47.843
  },
  "oklch": {
    "l": 0.5506,
    "c": 0.12549,
    "h": 29.1
  },
  "luminance": 0.15428
}

Semantic roles & 50–950 ramp

primary
#AF5145
secondary
#8DBCC2
accent
#C5D355
background
#FDF8F7
surface
#FAEFED
border
#D3CAC8
text
#140B09
muted
#837C7B

Preview Lab

Preview with #AF5145

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

Preview Lab → · Contrast checker → · Palette generator →

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