#AF374D#AF374D

#AF374D is a mid, vivid red. Relative luminance 0.124; OKLCH L 51.8% C 0.155 H 13.7°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#AF374D
RGBrgb(175, 55, 77)
HSLhsl(349, 52%, 45%)
HSVhsv(349, 69%, 69%)
CMYKcmyk(0%, 68.6%, 56%, 31.4%)
CIE-LABlab(41.82, 50.07, 14.77)
CIE-LCHlch(41.82, 52.20, 16.43°)
OKLaboklab(51.8% 0.1509 0.0369)
OKLCHoklch(51.8% 0.155 13.7)
XYZxyz(20.3868, 12.3849, 8.3367)
Luminance0.1238 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF374D #37AF99
analogous
#AF3789 #AF374D #AF5D37
triadic
#AF374D #4DAF37 #374DAF
tetradic
#AF374D #89AF37 #37AF99 #5D37AF
square
#AF374D #89AF37 #37AF99 #5D37AF
split-complementary
#AF374D #37AF5D #3789AF
monochromatic
#521A24 #802839 #AF374D #CB596D #D98796

Accessibility & contrast

On white

6.04
#AF374D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#AF374D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF374D
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF374D#FFFFFF#000000##FFFFFF
##AF374D1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#55534D
Deuteranopia (green-blind)
#746C4A
Tritanopia (blue-blind)
#BF1E40
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #af374d;
/* rgb */ color: rgb(175, 55, 77);
/* oklch */ color: oklch(51.8% 0.155 13.7);
Tailwind
colors: {
  custom: {
    50: '#cd767e',
    500: '#af374d',
    950: '#000000',
  },
}
SCSS
$custom: #af374d;
$custom-light: #cd767e;
$custom-dark: #000000;
JSON
{
  "hex": "#af374d",
  "rgb": {
    "r": 175,
    "g": 55,
    "b": 77
  },
  "hsl": {
    "h": 349,
    "s": 52.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.51804,
    "c": 0.15533,
    "h": 13.7
  },
  "luminance": 0.12382
}

Semantic roles & 50–950 ramp

primary
#AF374D
secondary
#7FC3B7
accent
#DCC14C
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#15090A
muted
#837B7C

Preview Lab

Preview with #AF374D

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

Preview Lab → · Contrast checker → · Palette generator →

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