#AF374B#AF374B

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

Color values

HEX#AF374B
RGBrgb(175, 55, 75)
HSLhsl(350, 52%, 45%)
HSVhsv(350, 69%, 69%)
CMYKcmyk(0%, 68.6%, 57.1%, 31.4%)
CIE-LABlab(41.78, 49.92, 15.95)
CIE-LCHlch(41.78, 52.40, 17.72°)
OKLaboklab(51.76% 0.1501 0.0396)
OKLCHoklch(51.76% 0.155 14.8)
XYZxyz(20.3173, 12.3571, 7.9705)
Luminance0.1235 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF374B #37AF9B
analogous
#AF3787 #AF374B #AF5F37
triadic
#AF374B #4BAF37 #374BAF
tetradic
#AF374B #87AF37 #37AF9B #5F37AF
square
#AF374B #87AF37 #37AF9B #5F37AF
split-complementary
#AF374B #37AF5F #3787AF
monochromatic
#521A23 #802837 #AF374B #CB596C #D98795

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF374B#FFFFFF#000000##FFFFFF
##AF374B1.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)
#55534B
Deuteranopia (green-blind)
#746C48
Tritanopia (blue-blind)
#BF1D3F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #af374b;
/* rgb */ color: rgb(175, 55, 75);
/* oklch */ color: oklch(51.8% 0.155 14.8);
Tailwind
colors: {
  custom: {
    50: '#cd767d',
    500: '#af374b',
    950: '#000000',
  },
}
SCSS
$custom: #af374b;
$custom-light: #cd767d;
$custom-dark: #000000;
JSON
{
  "hex": "#af374b",
  "rgb": {
    "r": 175,
    "g": 55,
    "b": 75
  },
  "hsl": {
    "h": 350,
    "s": 52.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.51758,
    "c": 0.15522,
    "h": 14.8
  },
  "luminance": 0.12354
}

Semantic roles & 50–950 ramp

primary
#AF374B
secondary
#7FC3B8
accent
#DCC44C
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#150909
muted
#837B7B

Preview Lab

Preview with #AF374B

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

Preview Lab → · Contrast checker → · Palette generator →

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