#AF4839#AF4839

#AF4839 is a mid, vivid red. Relative luminance 0.140; OKLCH L 53.5% C 0.138 H 30.5°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#AF4839
RGBrgb(175, 72, 57)
HSLhsl(8, 51%, 45%)
HSVhsv(8, 67%, 69%)
CMYKcmyk(0%, 58.9%, 67.4%, 31.4%)
CIE-LABlab(44.30, 41.09, 30.08)
CIE-LCHlch(44.30, 50.92, 36.21°)
OKLaboklab(53.55% 0.1189 0.0701)
OKLCHoklch(53.55% 0.138 30.5)
XYZxyz(20.7371, 14.0468, 5.4894)
Luminance0.1404 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4839 #39A0AF
analogous
#AF3965 #AF4839 #AF8339
triadic
#AF4839 #39AF48 #4839AF
tetradic
#AF4839 #65AF39 #39A0AF #8339AF
square
#AF4839 #65AF39 #39A0AF #8339AF
split-complementary
#AF4839 #39AF83 #3965AF
monochromatic
#53221B #81352A #AF4839 #CA695B #D9948A

Accessibility & contrast

On white

5.51
#AF4839 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF4839
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4839#FFFFFF#000000##FFFFFF
##AF48391.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635B37
Deuteranopia (green-blind)
#7D7136
Tritanopia (blue-blind)
#C03345
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #af4839;
/* rgb */ color: rgb(175, 72, 57);
/* oklch */ color: oklch(53.5% 0.138 30.5);
Tailwind
colors: {
  custom: {
    50: '#cd7f70',
    500: '#af4839',
    950: '#000000',
  },
}
SCSS
$custom: #af4839;
$custom-light: #cd7f70;
$custom-dark: #000000;
JSON
{
  "hex": "#af4839",
  "rgb": {
    "r": 175,
    "g": 72,
    "b": 57
  },
  "hsl": {
    "h": 7.627,
    "s": 50.862,
    "l": 45.49
  },
  "oklch": {
    "l": 0.53547,
    "c": 0.13807,
    "h": 30.5
  },
  "luminance": 0.14044
}

Semantic roles & 50–950 ramp

primary
#AF4839
secondary
#81BBC3
accent
#C8DA4D
background
#FDF7F6
surface
#FAEEEC
border
#D3C9C7
text
#150A07
muted
#837C7A

Preview Lab

Preview with #AF4839

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

Preview Lab → · Contrast checker → · Palette generator →

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