#AF374C#AF374C

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

Color values

HEX#AF374C
RGBrgb(175, 55, 76)
HSLhsl(350, 52%, 45%)
HSVhsv(350, 69%, 69%)
CMYKcmyk(0%, 68.6%, 56.6%, 31.4%)
CIE-LABlab(41.80, 49.99, 15.36)
CIE-LCHlch(41.80, 52.30, 17.08°)
OKLaboklab(51.78% 0.1505 0.0383)
OKLCHoklch(51.78% 0.155 14.3)
XYZxyz(20.3518, 12.3709, 8.1522)
Luminance0.1237 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF374C #37AF9A
analogous
#AF3788 #AF374C #AF5E37
triadic
#AF374C #4CAF37 #374CAF
tetradic
#AF374C #88AF37 #37AF9A #5E37AF
square
#AF374C #88AF37 #37AF9A #5E37AF
split-complementary
#AF374C #37AF5E #3788AF
monochromatic
#521A24 #802838 #AF374C #CB596C #D98795

Accessibility & contrast

On white

6.05
#AF374C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#AF374C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF374C
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF374C#FFFFFF#000000##FFFFFF
##AF374C1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#55534C
Deuteranopia (green-blind)
#746C49
Tritanopia (blue-blind)
#BF1D3F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #af374c;
/* rgb */ color: rgb(175, 55, 76);
/* oklch */ color: oklch(51.8% 0.155 14.3);
Tailwind
colors: {
  custom: {
    50: '#cd767d',
    500: '#af374c',
    950: '#000000',
  },
}
SCSS
$custom: #af374c;
$custom-light: #cd767d;
$custom-dark: #000000;
JSON
{
  "hex": "#af374c",
  "rgb": {
    "r": 175,
    "g": 55,
    "b": 76
  },
  "hsl": {
    "h": 349.5,
    "s": 52.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.51781,
    "c": 0.15527,
    "h": 14.3
  },
  "luminance": 0.12368
}

Semantic roles & 50–950 ramp

primary
#AF374C
secondary
#7FC3B7
accent
#DCC34C
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#150909
muted
#837B7B

Preview Lab

Preview with #AF374C

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

Preview Lab → · Contrast checker → · Palette generator →

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