#AF3E52#AF3E52

#AF3E52 is a mid, vivid red. Relative luminance 0.132; OKLCH L 52.7% C 0.147 H 13.2°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#AF3E52
RGBrgb(175, 62, 82)
HSLhsl(349, 48%, 46%)
HSVhsv(349, 65%, 69%)
CMYKcmyk(0%, 64.6%, 53.1%, 31.4%)
CIE-LABlab(43.02, 47.52, 13.30)
CIE-LCHlch(43.02, 49.35, 15.63°)
OKLaboklab(52.73% 0.1435 0.0336)
OKLCHoklch(52.73% 0.147 13.2)
XYZxyz(20.9266, 13.1711, 9.4213)
Luminance0.1317 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3E52 #3EAF9B
analogous
#AF3E8B #AF3E52 #AF633E
triadic
#AF3E52 #52AF3E #3E52AF
tetradic
#AF3E52 #8BAF3E #3EAF9B #633EAF
square
#AF3E52 #8BAF3E #3EAF9B #633EAF
split-complementary
#AF3E52 #3EAF63 #3E8BAF
monochromatic
#551E28 #822E3D #AF3E52 #C86374 #D8909D

Accessibility & contrast

On white

5.78
#AF3E52 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#AF3E52 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3E52
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3E52#FFFFFF#000000##FFFFFF
##AF3E521.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#585752
Deuteranopia (green-blind)
#766E4F
Tritanopia (blue-blind)
#BF2B46
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #af3e52;
/* rgb */ color: rgb(175, 62, 82);
/* oklch */ color: oklch(52.7% 0.147 13.2);
Tailwind
colors: {
  custom: {
    50: '#cc7982',
    500: '#af3e52',
    950: '#000000',
  },
}
SCSS
$custom: #af3e52;
$custom-light: #cc7982;
$custom-dark: #000000;
JSON
{
  "hex": "#af3e52",
  "rgb": {
    "r": 175,
    "g": 62,
    "b": 82
  },
  "hsl": {
    "h": 349.381,
    "s": 47.679,
    "l": 46.471
  },
  "oklch": {
    "l": 0.52734,
    "c": 0.14734,
    "h": 13.2
  },
  "luminance": 0.13168
}

Semantic roles & 50–950 ramp

primary
#AF3E52
secondary
#86C3B8
accent
#D7BF51
background
#FDF7F7
surface
#FAEEEE
border
#D3C9C9
text
#14090A
muted
#837B7C

Preview Lab

Preview with #AF3E52

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

Preview Lab → · Contrast checker → · Palette generator →

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