#AF304A#AF304A

#AF304A is a mid, vivid red. Relative luminance 0.117; OKLCH L 51.0% C 0.163 H 13.4°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#AF304A
RGBrgb(175, 48, 74)
HSLhsl(348, 57%, 44%)
HSVhsv(348, 73%, 69%)
CMYKcmyk(0%, 72.6%, 57.7%, 31.4%)
CIE-LABlab(40.78, 52.54, 15.22)
CIE-LCHlch(40.78, 54.70, 16.16°)
OKLaboklab(51.01% 0.1583 0.0378)
OKLCHoklch(51.01% 0.163 13.4)
XYZxyz(19.9741, 11.7251, 7.6886)
Luminance0.1172 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF304A #30AF95
analogous
#AF3089 #AF304A #AF5530
triadic
#AF304A #4AAF30 #304AAF
tetradic
#AF304A #89AF30 #30AF95 #5530AF
square
#AF304A #89AF30 #30AF95 #5530AF
split-complementary
#AF304A #30AF55 #3089AF
monochromatic
#4F1621 #7F2336 #AF304A #CE4E68 #DC7E91

Accessibility & contrast

On white

6.28
#AF304A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#AF304A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF304A
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF304A#FFFFFF#000000##FFFFFF
##AF304A1.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514F4A
Deuteranopia (green-blind)
#726A47
Tritanopia (blue-blind)
#BF0D3B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af304a;
/* rgb */ color: rgb(175, 48, 74);
/* oklch */ color: oklch(51.0% 0.163 13.4);
Tailwind
colors: {
  custom: {
    50: '#cd727c',
    500: '#af304a',
    950: '#000000',
  },
}
SCSS
$custom: #af304a;
$custom-light: #cd727c;
$custom-dark: #000000;
JSON
{
  "hex": "#af304a",
  "rgb": {
    "r": 175,
    "g": 48,
    "b": 74
  },
  "hsl": {
    "h": 347.717,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.51005,
    "c": 0.16278,
    "h": 13.4
  },
  "luminance": 0.11722
}

Semantic roles & 50–950 ramp

primary
#AF304A
secondary
#76C4B4
accent
#E0C148
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#150909
muted
#837B7B

Preview Lab

Preview with #AF304A

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

Preview Lab → · Contrast checker → · Palette generator →

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