#AF4151#AF4151

#AF4151 is a mid, vivid red. Relative luminance 0.135; OKLCH L 53.1% C 0.144 H 14.8°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#AF4151
RGBrgb(175, 65, 81)
HSLhsl(351, 46%, 47%)
HSVhsv(351, 63%, 69%)
CMYKcmyk(0%, 62.9%, 53.7%, 31.4%)
CIE-LABlab(43.49, 46.10, 14.57)
CIE-LCHlch(43.49, 48.35, 17.54°)
OKLaboklab(53.08% 0.1388 0.0366)
OKLCHoklch(53.08% 0.144 14.8)
XYZxyz(21.0565, 13.4913, 9.2782)
Luminance0.1349 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4151 #41AF9F
analogous
#AF4188 #AF4151 #AF6841
triadic
#AF4151 #51AF41 #4151AF
tetradic
#AF4151 #88AF41 #41AF9F #6841AF
square
#AF4151 #88AF41 #41AF9F #6841AF
split-complementary
#AF4151 #41AF68 #4188AF
monochromatic
#562028 #82303C #AF4151 #C66775 #D7939D

Accessibility & contrast

On white

5.68
#AF4151 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#AF4151 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4151
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4151#FFFFFF#000000##FFFFFF
##AF41511.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5951
Deuteranopia (green-blind)
#776F4E
Tritanopia (blue-blind)
#BF2E47
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #af4151;
/* rgb */ color: rgb(175, 65, 81);
/* oklch */ color: oklch(53.1% 0.144 14.8);
Tailwind
colors: {
  custom: {
    50: '#cc7b81',
    500: '#af4151',
    950: '#000000',
  },
}
SCSS
$custom: #af4151;
$custom-light: #cc7b81;
$custom-dark: #000000;
JSON
{
  "hex": "#af4151",
  "rgb": {
    "r": 175,
    "g": 65,
    "b": 81
  },
  "hsl": {
    "h": 351.273,
    "s": 45.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.53082,
    "c": 0.14355,
    "h": 14.8
  },
  "luminance": 0.13489
}

Semantic roles & 50–950 ramp

primary
#AF4151
secondary
#89C2BA
accent
#D5C252
background
#FDF7F7
surface
#FAEEEE
border
#D3C9C9
text
#140A0A
muted
#837C7C

Preview Lab

Preview with #AF4151

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

Preview Lab → · Contrast checker → · Palette generator →

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