#AF304D#AF304D

#AF304D is a mid, vivid red. Relative luminance 0.118; OKLCH L 51.1% C 0.163 H 11.9°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#AF304D
RGBrgb(175, 48, 77)
HSLhsl(346, 57%, 44%)
HSVhsv(346, 73%, 69%)
CMYKcmyk(0%, 72.6%, 56%, 31.4%)
CIE-LABlab(40.84, 52.77, 13.43)
CIE-LCHlch(40.84, 54.45, 14.28°)
OKLaboklab(51.08% 0.1595 0.0337)
OKLCHoklch(51.08% 0.163 11.9)
XYZxyz(20.0776, 11.7665, 8.2337)
Luminance0.1176 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF304D #30AF92
analogous
#AF308C #AF304D #AF5230
triadic
#AF304D #4DAF30 #304DAF
tetradic
#AF304D #8CAF30 #30AF92 #5230AF
square
#AF304D #8CAF30 #30AF92 #5230AF
split-complementary
#AF304D #30AF52 #308CAF
monochromatic
#4F1623 #7F2338 #AF304D #CE4E6B #DC7E93

Accessibility & contrast

On white

6.26
#AF304D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#AF304D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF304D
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF304D#FFFFFF#000000##FFFFFF
##AF304D1.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50504D
Deuteranopia (green-blind)
#716A4A
Tritanopia (blue-blind)
#BF0F3C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af304d;
/* rgb */ color: rgb(175, 48, 77);
/* oklch */ color: oklch(51.1% 0.163 11.9);
Tailwind
colors: {
  custom: {
    50: '#cd727e',
    500: '#af304d',
    950: '#000000',
  },
}
SCSS
$custom: #af304d;
$custom-light: #cd727e;
$custom-dark: #000000;
JSON
{
  "hex": "#af304d",
  "rgb": {
    "r": 175,
    "g": 48,
    "b": 77
  },
  "hsl": {
    "h": 346.299,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.51076,
    "c": 0.16303,
    "h": 11.9
  },
  "luminance": 0.11764
}

Semantic roles & 50–950 ramp

primary
#AF304D
secondary
#76C4B3
accent
#E0BD48
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#150909
muted
#837B7B

Preview Lab

Preview with #AF304D

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

Preview Lab → · Contrast checker → · Palette generator →

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