#AF2748#AF2748

#AF2748 is a mid, vivid red. Relative luminance 0.110; OKLCH L 50.1% C 0.171 H 12.5°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#AF2748
RGBrgb(175, 39, 72)
HSLhsl(345, 64%, 42%)
HSVhsv(345, 78%, 69%)
CMYKcmyk(0%, 77.7%, 58.9%, 31.4%)
CIE-LABlab(39.64, 55.45, 14.95)
CIE-LCHlch(39.64, 57.43, 15.09°)
OKLaboklab(50.15% 0.1673 0.0371)
OKLCHoklch(50.15% 0.171 12.5)
XYZxyz(19.5764, 11.0357, 7.2289)
Luminance0.1103 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2748 #27AF8E
analogous
#AF278C #AF2748 #AF4A27
triadic
#AF2748 #48AF27 #2748AF
tetradic
#AF2748 #8CAF27 #27AF8E #4A27AF
square
#AF2748 #8CAF27 #27AF8E #4A27AF
split-complementary
#AF2748 #27AF4A #278CAF
monochromatic
#4B111F #7D1C33 #AF2748 #D43F63 #DF718C

Accessibility & contrast

On white

6.55
#AF2748 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#AF2748 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2748
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2748#FFFFFF#000000##FFFFFF
##AF27481.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4C48
Deuteranopia (green-blind)
#6F6744
Tritanopia (blue-blind)
#C00035
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #af2748;
/* rgb */ color: rgb(175, 39, 72);
/* oklch */ color: oklch(50.1% 0.171 12.5);
Tailwind
colors: {
  custom: {
    50: '#ce6e7a',
    500: '#af2748',
    950: '#000000',
  },
}
SCSS
$custom: #af2748;
$custom-light: #ce6e7a;
$custom-dark: #000000;
JSON
{
  "hex": "#af2748",
  "rgb": {
    "r": 175,
    "g": 39,
    "b": 72
  },
  "hsl": {
    "h": 345.441,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.5015,
    "c": 0.1714,
    "h": 12.5
  },
  "luminance": 0.11033
}

Semantic roles & 50–950 ramp

primary
#AF2748
secondary
#6BC6B0
accent
#E7BE41
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150809
muted
#837B7B

Preview Lab

Preview with #AF2748

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

Preview Lab → · Contrast checker → · Palette generator →

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