#AF304E#AF304E

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

Color values

HEX#AF304E
RGBrgb(175, 48, 78)
HSLhsl(346, 57%, 44%)
HSVhsv(346, 73%, 69%)
CMYKcmyk(0%, 72.6%, 55.4%, 31.4%)
CIE-LABlab(40.87, 52.85, 12.83)
CIE-LCHlch(40.87, 54.38, 13.65°)
OKLaboklab(51.1% 0.1599 0.0323)
OKLCHoklch(51.1% 0.163 11.4)
XYZxyz(20.1132, 11.7807, 8.4210)
Luminance0.1178 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF304E #30AF91
analogous
#AF308D #AF304E #AF5130
triadic
#AF304E #4EAF30 #304EAF
tetradic
#AF304E #8DAF30 #30AF91 #5130AF
square
#AF304E #8DAF30 #30AF91 #5130AF
split-complementary
#AF304E #30AF51 #308DAF
monochromatic
#4F1623 #7F2339 #AF304E #CE4E6C #DC7E94

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF304E#FFFFFF#000000##FFFFFF
##AF304E1.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50504E
Deuteranopia (green-blind)
#716A4B
Tritanopia (blue-blind)
#BF103C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af304e;
/* rgb */ color: rgb(175, 48, 78);
/* oklch */ color: oklch(51.1% 0.163 11.4);
Tailwind
colors: {
  custom: {
    50: '#cd727f',
    500: '#af304e',
    950: '#000000',
  },
}
SCSS
$custom: #af304e;
$custom-light: #cd727f;
$custom-dark: #000000;
JSON
{
  "hex": "#af304e",
  "rgb": {
    "r": 175,
    "g": 48,
    "b": 78
  },
  "hsl": {
    "h": 345.827,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.51101,
    "c": 0.16314,
    "h": 11.4
  },
  "luminance": 0.11778
}

Semantic roles & 50–950 ramp

primary
#AF304E
secondary
#76C4B2
accent
#E0BC48
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#15090A
muted
#837B7C

Preview Lab

Preview with #AF304E

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

Preview Lab → · Contrast checker → · Palette generator →

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