#AF304B#AF304B

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

Color values

HEX#AF304B
RGBrgb(175, 48, 75)
HSLhsl(347, 57%, 44%)
HSVhsv(347, 73%, 69%)
CMYKcmyk(0%, 72.6%, 57.1%, 31.4%)
CIE-LABlab(40.80, 52.62, 14.63)
CIE-LCHlch(40.80, 54.61, 15.53°)
OKLaboklab(51.03% 0.1587 0.0365)
OKLCHoklch(51.03% 0.163 12.9)
XYZxyz(20.0081, 11.7387, 7.8675)
Luminance0.1174 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF304B #30AF94
analogous
#AF308A #AF304B #AF5430
triadic
#AF304B #4BAF30 #304BAF
tetradic
#AF304B #8AAF30 #30AF94 #5430AF
square
#AF304B #8AAF30 #30AF94 #5430AF
split-complementary
#AF304B #30AF54 #308AAF
monochromatic
#4F1622 #7F2336 #AF304B #CE4E69 #DC7E92

Accessibility & contrast

On white

6.27
#AF304B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF304B
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF304B#FFFFFF#000000##FFFFFF
##AF304B1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51504B
Deuteranopia (green-blind)
#726A48
Tritanopia (blue-blind)
#BF0E3B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af304b;
/* rgb */ color: rgb(175, 48, 75);
/* oklch */ color: oklch(51.0% 0.163 12.9);
Tailwind
colors: {
  custom: {
    50: '#cd727d',
    500: '#af304b',
    950: '#000000',
  },
}
SCSS
$custom: #af304b;
$custom-light: #cd727d;
$custom-dark: #000000;
JSON
{
  "hex": "#af304b",
  "rgb": {
    "r": 175,
    "g": 48,
    "b": 75
  },
  "hsl": {
    "h": 347.244,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.51029,
    "c": 0.16286,
    "h": 12.9
  },
  "luminance": 0.11736
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF304B

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

Preview Lab → · Contrast checker → · Palette generator →

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