#AF304F#AF304F

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

Color values

HEX#AF304F
RGBrgb(175, 48, 79)
HSLhsl(345, 57%, 44%)
HSVhsv(345, 73%, 69%)
CMYKcmyk(0%, 72.6%, 54.9%, 31.4%)
CIE-LABlab(40.89, 52.92, 12.24)
CIE-LCHlch(40.89, 54.32, 13.02°)
OKLaboklab(51.13% 0.1603 0.0309)
OKLCHoklch(51.13% 0.163 10.9)
XYZxyz(20.1493, 11.7952, 8.6113)
Luminance0.1179 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF304F #30AF90
analogous
#AF308E #AF304F #AF5030
triadic
#AF304F #4FAF30 #304FAF
tetradic
#AF304F #8EAF30 #30AF90 #5030AF
square
#AF304F #8EAF30 #30AF90 #5030AF
split-complementary
#AF304F #30AF50 #308EAF
monochromatic
#4F1624 #7F2339 #AF304F #CE4E6D #DC7E95

Accessibility & contrast

On white

6.25
#AF304F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#AF304F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF304F
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF304F#FFFFFF#000000##FFFFFF
##AF304F1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50504F
Deuteranopia (green-blind)
#716A4C
Tritanopia (blue-blind)
#BF113D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af304f;
/* rgb */ color: rgb(175, 48, 79);
/* oklch */ color: oklch(51.1% 0.163 10.9);
Tailwind
colors: {
  custom: {
    50: '#cd7280',
    500: '#af304f',
    950: '#000000',
  },
}
SCSS
$custom: #af304f;
$custom-light: #cd7280;
$custom-dark: #000000;
JSON
{
  "hex": "#af304f",
  "rgb": {
    "r": 175,
    "g": 48,
    "b": 79
  },
  "hsl": {
    "h": 345.354,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.51126,
    "c": 0.16325,
    "h": 10.9
  },
  "luminance": 0.11792
}

Semantic roles & 50–950 ramp

primary
#AF304F
secondary
#76C4B1
accent
#E0BB48
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#15090A
muted
#837B7C

Preview Lab

Preview with #AF304F

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

Preview Lab → · Contrast checker → · Palette generator →

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