#AF2749#AF2749

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

Color values

HEX#AF2749
RGBrgb(175, 39, 73)
HSLhsl(345, 64%, 42%)
HSVhsv(345, 78%, 69%)
CMYKcmyk(0%, 77.7%, 58.3%, 31.4%)
CIE-LABlab(39.66, 55.52, 14.34)
CIE-LCHlch(39.66, 57.34, 14.49°)
OKLaboklab(50.17% 0.1677 0.0357)
OKLCHoklch(50.17% 0.171 12)
XYZxyz(19.6093, 11.0489, 7.4021)
Luminance0.1105 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2749 #27AF8D
analogous
#AF278D #AF2749 #AF4927
triadic
#AF2749 #49AF27 #2749AF
tetradic
#AF2749 #8DAF27 #27AF8D #4927AF
square
#AF2749 #8DAF27 #27AF8D #4927AF
split-complementary
#AF2749 #27AF49 #278DAF
monochromatic
#4B111F #7D1C34 #AF2749 #D43F64 #DF718D

Accessibility & contrast

On white

6.54
#AF2749 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF2749
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2749#FFFFFF#000000##FFFFFF
##AF27491.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4C49
Deuteranopia (green-blind)
#6F6745
Tritanopia (blue-blind)
#C00036
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #af2749;
/* rgb */ color: rgb(175, 39, 73);
/* oklch */ color: oklch(50.2% 0.171 12.0);
Tailwind
colors: {
  custom: {
    50: '#ce6e7b',
    500: '#af2749',
    950: '#000000',
  },
}
SCSS
$custom: #af2749;
$custom-light: #ce6e7b;
$custom-dark: #000000;
JSON
{
  "hex": "#af2749",
  "rgb": {
    "r": 175,
    "g": 39,
    "b": 73
  },
  "hsl": {
    "h": 345,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.50174,
    "c": 0.17149,
    "h": 12
  },
  "luminance": 0.11046
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF2749

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

Preview Lab → · Contrast checker → · Palette generator →

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