#AF4152#AF4152

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

Color values

HEX#AF4152
RGBrgb(175, 65, 82)
HSLhsl(351, 46%, 47%)
HSVhsv(351, 63%, 69%)
CMYKcmyk(0%, 62.9%, 53.1%, 31.4%)
CIE-LABlab(43.52, 46.19, 13.98)
CIE-LCHlch(43.52, 48.26, 16.84°)
OKLaboklab(53.11% 0.1392 0.0352)
OKLCHoklch(53.11% 0.144 14.2)
XYZxyz(21.0942, 13.5064, 9.4772)
Luminance0.1350 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4152 #41AF9E
analogous
#AF4189 #AF4152 #AF6741
triadic
#AF4152 #52AF41 #4152AF
tetradic
#AF4152 #89AF41 #41AF9E #6741AF
square
#AF4152 #89AF41 #41AF9E #6741AF
split-complementary
#AF4152 #41AF67 #4189AF
monochromatic
#562028 #82303D #AF4152 #C66776 #D7939E

Accessibility & contrast

On white

5.67
#AF4152 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF4152
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4152#FFFFFF#000000##FFFFFF
##AF41521.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5952
Deuteranopia (green-blind)
#776F4F
Tritanopia (blue-blind)
#BF2F48
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #af4152;
/* rgb */ color: rgb(175, 65, 82);
/* oklch */ color: oklch(53.1% 0.144 14.2);
Tailwind
colors: {
  custom: {
    50: '#cc7b82',
    500: '#af4152',
    950: '#000000',
  },
}
SCSS
$custom: #af4152;
$custom-light: #cc7b82;
$custom-dark: #000000;
JSON
{
  "hex": "#af4152",
  "rgb": {
    "r": 175,
    "g": 65,
    "b": 82
  },
  "hsl": {
    "h": 350.727,
    "s": 45.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.53106,
    "c": 0.14361,
    "h": 14.2
  },
  "luminance": 0.13504
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF4152

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

Preview Lab → · Contrast checker → · Palette generator →

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