#AF3045#AF3045

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

Color values

HEX#AF3045
RGBrgb(175, 48, 69)
HSLhsl(350, 57%, 44%)
HSVhsv(350, 73%, 69%)
CMYKcmyk(0%, 72.6%, 60.6%, 31.4%)
CIE-LABlab(40.67, 52.19, 18.22)
CIE-LCHlch(40.67, 55.28, 19.24°)
OKLaboklab(50.89% 0.1563 0.0446)
OKLCHoklch(50.89% 0.163 15.9)
XYZxyz(19.8123, 11.6604, 6.8365)
Luminance0.1166 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3045 #30AF9A
analogous
#AF3084 #AF3045 #AF5A30
triadic
#AF3045 #45AF30 #3045AF
tetradic
#AF3045 #84AF30 #30AF9A #5A30AF
square
#AF3045 #84AF30 #30AF9A #5A30AF
split-complementary
#AF3045 #30AF5A #3084AF
monochromatic
#4F161F #7F2332 #AF3045 #CE4E63 #DC7E8D

Accessibility & contrast

On white

6.30
#AF3045 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#AF3045 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3045
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3045#FFFFFF#000000##FFFFFF
##AF30451.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524F45
Deuteranopia (green-blind)
#726A42
Tritanopia (blue-blind)
#C00939
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af3045;
/* rgb */ color: rgb(175, 48, 69);
/* oklch */ color: oklch(50.9% 0.163 15.9);
Tailwind
colors: {
  custom: {
    50: '#ce7278',
    500: '#af3045',
    950: '#000000',
  },
}
SCSS
$custom: #af3045;
$custom-light: #ce7278;
$custom-dark: #000000;
JSON
{
  "hex": "#af3045",
  "rgb": {
    "r": 175,
    "g": 48,
    "b": 69
  },
  "hsl": {
    "h": 350.079,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.50894,
    "c": 0.16256,
    "h": 15.9
  },
  "luminance": 0.11658
}

Semantic roles & 50–950 ramp

primary
#AF3045
secondary
#76C4B7
accent
#E0C748
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150809
muted
#837B7B

Preview Lab

Preview with #AF3045

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

Preview Lab → · Contrast checker → · Palette generator →

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