#AF374E#AF374E

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

Color values

HEX#AF374E
RGBrgb(175, 55, 78)
HSLhsl(349, 52%, 45%)
HSVhsv(349, 69%, 69%)
CMYKcmyk(0%, 68.6%, 55.4%, 31.4%)
CIE-LABlab(41.84, 50.15, 14.17)
CIE-LCHlch(41.84, 52.11, 15.78°)
OKLaboklab(51.83% 0.1513 0.0355)
OKLCHoklch(51.83% 0.155 13.2)
XYZxyz(20.4224, 12.3991, 8.5241)
Luminance0.1240 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF374E #37AF98
analogous
#AF378A #AF374E #AF5C37
triadic
#AF374E #4EAF37 #374EAF
tetradic
#AF374E #8AAF37 #37AF98 #5C37AF
square
#AF374E #8AAF37 #37AF98 #5C37AF
split-complementary
#AF374E #37AF5C #378AAF
monochromatic
#521A24 #802839 #AF374E #CB596E #D98797

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF374E#FFFFFF#000000##FFFFFF
##AF374E1.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)
#55534E
Deuteranopia (green-blind)
#736C4B
Tritanopia (blue-blind)
#BF1E40
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #af374e;
/* rgb */ color: rgb(175, 55, 78);
/* oklch */ color: oklch(51.8% 0.155 13.2);
Tailwind
colors: {
  custom: {
    50: '#cd767f',
    500: '#af374e',
    950: '#000000',
  },
}
SCSS
$custom: #af374e;
$custom-light: #cd767f;
$custom-dark: #000000;
JSON
{
  "hex": "#af374e",
  "rgb": {
    "r": 175,
    "g": 55,
    "b": 78
  },
  "hsl": {
    "h": 348.5,
    "s": 52.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.51828,
    "c": 0.15539,
    "h": 13.2
  },
  "luminance": 0.12396
}

Semantic roles & 50–950 ramp

primary
#AF374E
secondary
#7FC3B6
accent
#DCC04C
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#15090A
muted
#837B7C

Preview Lab

Preview with #AF374E

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

Preview Lab → · Contrast checker → · Palette generator →

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