#AF4252#AF4252

#AF4252 is a mid, vivid red. Relative luminance 0.136; OKLCH L 53.2% C 0.142 H 14.6°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#AF4252
RGBrgb(175, 66, 82)
HSLhsl(351, 45%, 47%)
HSVhsv(351, 62%, 69%)
CMYKcmyk(0%, 62.3%, 53.1%, 31.4%)
CIE-LABlab(43.69, 45.73, 14.21)
CIE-LCHlch(43.69, 47.89, 17.26°)
OKLaboklab(53.23% 0.1378 0.0358)
OKLCHoklch(53.23% 0.142 14.6)
XYZxyz(21.1522, 13.6222, 9.4965)
Luminance0.1362 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4252 #42AF9F
analogous
#AF4288 #AF4252 #AF6942
triadic
#AF4252 #52AF42 #4252AF
tetradic
#AF4252 #88AF42 #42AF9F #6942AF
square
#AF4252 #88AF42 #42AF9F #6942AF
split-complementary
#AF4252 #42AF69 #4288AF
monochromatic
#562028 #83313D #AF4252 #C66876 #D7959E

Accessibility & contrast

On white

5.64
#AF4252 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#AF4252 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4252
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4252#FFFFFF#000000##FFFFFF
##AF42521.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5952
Deuteranopia (green-blind)
#77704F
Tritanopia (blue-blind)
#BF3048
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #af4252;
/* rgb */ color: rgb(175, 66, 82);
/* oklch */ color: oklch(53.2% 0.142 14.6);
Tailwind
colors: {
  custom: {
    50: '#cc7c82',
    500: '#af4252',
    950: '#000000',
  },
}
SCSS
$custom: #af4252;
$custom-light: #cc7c82;
$custom-dark: #000000;
JSON
{
  "hex": "#af4252",
  "rgb": {
    "r": 175,
    "g": 66,
    "b": 82
  },
  "hsl": {
    "h": 351.193,
    "s": 45.228,
    "l": 47.255
  },
  "oklch": {
    "l": 0.53233,
    "c": 0.14235,
    "h": 14.6
  },
  "luminance": 0.1362
}

Semantic roles & 50–950 ramp

primary
#AF4252
secondary
#8AC2BA
accent
#D5C253
background
#FDF7F7
surface
#FAEEEE
border
#D3C9C9
text
#140A0A
muted
#837C7C

Preview Lab

Preview with #AF4252

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

Preview Lab → · Contrast checker → · Palette generator →

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