#AF3148#AF3148

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

Color values

HEX#AF3148
RGBrgb(175, 49, 72)
HSLhsl(349, 56%, 44%)
HSVhsv(349, 72%, 69%)
CMYKcmyk(0%, 72%, 58.9%, 31.4%)
CIE-LABlab(40.87, 52.03, 16.60)
CIE-LCHlch(40.87, 54.61, 17.70°)
OKLaboklab(51.06% 0.1563 0.041)
OKLCHoklch(51.06% 0.162 14.7)
XYZxyz(19.9491, 11.7813, 7.3532)
Luminance0.1178 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3148 #31AF98
analogous
#AF3187 #AF3148 #AF5931
triadic
#AF3148 #48AF31 #3148AF
tetradic
#AF3148 #87AF31 #31AF98 #5931AF
square
#AF3148 #87AF31 #31AF98 #5931AF
split-complementary
#AF3148 #31AF59 #3187AF
monochromatic
#4F1621 #7F2434 #AF3148 #CE4F66 #DB7F90

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF3148#FFFFFF#000000##FFFFFF
##AF31481.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)
#525048
Deuteranopia (green-blind)
#726A45
Tritanopia (blue-blind)
#C00E3A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af3148;
/* rgb */ color: rgb(175, 49, 72);
/* oklch */ color: oklch(51.1% 0.162 14.7);
Tailwind
colors: {
  custom: {
    50: '#cd737a',
    500: '#af3148',
    950: '#000000',
  },
}
SCSS
$custom: #af3148;
$custom-light: #cd737a;
$custom-dark: #000000;
JSON
{
  "hex": "#af3148",
  "rgb": {
    "r": 175,
    "g": 49,
    "b": 72
  },
  "hsl": {
    "h": 349.048,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.51059,
    "c": 0.16162,
    "h": 14.7
  },
  "luminance": 0.11778
}

Semantic roles & 50–950 ramp

primary
#AF3148
secondary
#78C4B6
accent
#E0C448
background
#FDF7F7
surface
#FAEDED
border
#D3C8C8
text
#150909
muted
#837B7B

Preview Lab

Preview with #AF3148

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

Preview Lab → · Contrast checker → · Palette generator →

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