#AF374F#AF374F

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

Color values

HEX#AF374F
RGBrgb(175, 55, 79)
HSLhsl(348, 52%, 45%)
HSVhsv(348, 69%, 69%)
CMYKcmyk(0%, 68.6%, 54.9%, 31.4%)
CIE-LABlab(41.87, 50.23, 13.58)
CIE-LCHlch(41.87, 52.03, 15.13°)
OKLaboklab(51.85% 0.1517 0.0342)
OKLCHoklch(51.85% 0.155 12.7)
XYZxyz(20.4585, 12.4136, 8.7144)
Luminance0.1241 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF374F #37AF97
analogous
#AF378B #AF374F #AF5B37
triadic
#AF374F #4FAF37 #374FAF
tetradic
#AF374F #8BAF37 #37AF97 #5B37AF
square
#AF374F #8BAF37 #37AF97 #5B37AF
split-complementary
#AF374F #37AF5B #378BAF
monochromatic
#521A25 #80283A #AF374F #CB596F #D98798

Accessibility & contrast

On white

6.03
#AF374F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF374F
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF374F#FFFFFF#000000##FFFFFF
##AF374F1.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#54534F
Deuteranopia (green-blind)
#736C4C
Tritanopia (blue-blind)
#BF1F41
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #af374f;
/* rgb */ color: rgb(175, 55, 79);
/* oklch */ color: oklch(51.9% 0.155 12.7);
Tailwind
colors: {
  custom: {
    50: '#cd7680',
    500: '#af374f',
    950: '#000000',
  },
}
SCSS
$custom: #af374f;
$custom-light: #cd7680;
$custom-dark: #000000;
JSON
{
  "hex": "#af374f",
  "rgb": {
    "r": 175,
    "g": 55,
    "b": 79
  },
  "hsl": {
    "h": 348,
    "s": 52.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.51852,
    "c": 0.15547,
    "h": 12.7
  },
  "luminance": 0.12411
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF374F

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

Preview Lab → · Contrast checker → · Palette generator →

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