#AF2739#AF2739

#AF2739 is a mid, vivid red. Relative luminance 0.109; OKLCH L 49.8% C 0.171 H 19.3°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#AF2739
RGBrgb(175, 39, 57)
HSLhsl(352, 64%, 42%)
HSVhsv(352, 78%, 69%)
CMYKcmyk(0%, 77.7%, 67.4%, 31.4%)
CIE-LABlab(39.35, 54.52, 24.01)
CIE-LCHlch(39.35, 59.57, 23.76°)
OKLaboklab(49.84% 0.1614 0.0566)
OKLCHoklch(49.84% 0.171 19.3)
XYZxyz(19.1453, 10.8633, 4.9588)
Luminance0.1086 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2739 #27AF9D
analogous
#AF277D #AF2739 #AF5927
triadic
#AF2739 #39AF27 #2739AF
tetradic
#AF2739 #7DAF27 #27AF9D #5927AF
square
#AF2739 #7DAF27 #27AF9D #5927AF
split-complementary
#AF2739 #27AF59 #277DAF
monochromatic
#4B1118 #7D1C29 #AF2739 #D43F53 #DF7180

Accessibility & contrast

On white

6.62
#AF2739 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#AF2739 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2739
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2739#FFFFFF#000000##FFFFFF
##AF27391.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4A39
Deuteranopia (green-blind)
#716735
Tritanopia (blue-blind)
#C0002F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #af2739;
/* rgb */ color: rgb(175, 39, 57);
/* oklch */ color: oklch(49.8% 0.171 19.3);
Tailwind
colors: {
  custom: {
    50: '#cf6e6f',
    500: '#af2739',
    950: '#000000',
  },
}
SCSS
$custom: #af2739;
$custom-light: #cf6e6f;
$custom-dark: #000000;
JSON
{
  "hex": "#af2739",
  "rgb": {
    "r": 175,
    "g": 39,
    "b": 57
  },
  "hsl": {
    "h": 352.059,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.4984,
    "c": 0.17103,
    "h": 19.3
  },
  "luminance": 0.1086
}

Semantic roles & 50–950 ramp

primary
#AF2739
secondary
#6BC6BA
accent
#E7D141
background
#FDF7F6
surface
#FBEDEC
border
#D4C8C7
text
#150807
muted
#837B7A

Preview Lab

Preview with #AF2739

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

Preview Lab → · Contrast checker → · Palette generator →

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