#AF4050#AF4050

#AF4050 is a mid, vivid red. Relative luminance 0.134; OKLCH L 52.9% C 0.145 H 15.0°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#AF4050
RGBrgb(175, 64, 80)
HSLhsl(351, 46%, 47%)
HSVhsv(351, 63%, 69%)
CMYKcmyk(0%, 63.4%, 54.3%, 31.4%)
CIE-LABlab(43.30, 46.47, 14.92)
CIE-LCHlch(43.30, 48.81, 17.81°)
OKLaboklab(52.93% 0.1398 0.0374)
OKLCHoklch(52.93% 0.145 15)
XYZxyz(20.9624, 13.3626, 9.0632)
Luminance0.1336 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4050 #40AF9F
analogous
#AF4088 #AF4050 #AF6740
triadic
#AF4050 #50AF40 #4050AF
tetradic
#AF4050 #88AF40 #40AF9F #6740AF
square
#AF4050 #88AF40 #40AF9F #6740AF
split-complementary
#AF4050 #40AF67 #4088AF
monochromatic
#551F27 #82303C #AF4050 #C76573 #D7929C

Accessibility & contrast

On white

5.72
#AF4050 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#AF4050 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4050
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4050#FFFFFF#000000##FFFFFF
##AF40501.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A5850
Deuteranopia (green-blind)
#776F4D
Tritanopia (blue-blind)
#BF2D46
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #af4050;
/* rgb */ color: rgb(175, 64, 80);
/* oklch */ color: oklch(52.9% 0.145 15.0);
Tailwind
colors: {
  custom: {
    50: '#cc7a80',
    500: '#af4050',
    950: '#000000',
  },
}
SCSS
$custom: #af4050;
$custom-light: #cc7a80;
$custom-dark: #000000;
JSON
{
  "hex": "#af4050",
  "rgb": {
    "r": 175,
    "g": 64,
    "b": 80
  },
  "hsl": {
    "h": 351.351,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.52933,
    "c": 0.14475,
    "h": 15
  },
  "luminance": 0.1336
}

Semantic roles & 50–950 ramp

primary
#AF4050
secondary
#88C3BA
accent
#D6C352
background
#FDF7F7
surface
#FAEEEE
border
#D3C9C9
text
#140A0A
muted
#837C7C

Preview Lab

Preview with #AF4050

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

Preview Lab → · Contrast checker → · Palette generator →

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