#AF2737#AF2737

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

Color values

HEX#AF2737
RGBrgb(175, 39, 55)
HSLhsl(353, 64%, 42%)
HSVhsv(353, 78%, 69%)
CMYKcmyk(0%, 77.7%, 68.6%, 31.4%)
CIE-LABlab(39.32, 54.42, 25.21)
CIE-LCHlch(39.32, 59.97, 24.86°)
OKLaboklab(49.81% 0.1606 0.059)
OKLCHoklch(49.81% 0.171 20.2)
XYZxyz(19.0964, 10.8438, 4.7012)
Luminance0.1084 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2737 #27AF9F
analogous
#AF277B #AF2737 #AF5B27
triadic
#AF2737 #37AF27 #2737AF
tetradic
#AF2737 #7BAF27 #27AF9F #5B27AF
square
#AF2737 #7BAF27 #27AF9F #5B27AF
split-complementary
#AF2737 #27AF5B #277BAF
monochromatic
#4B1118 #7D1C27 #AF2737 #D43F51 #DF717E

Accessibility & contrast

On white

6.63
#AF2737 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF2737
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2737#FFFFFF#000000##FFFFFF
##AF27371.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4A37
Deuteranopia (green-blind)
#716733
Tritanopia (blue-blind)
#C0002E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #af2737;
/* rgb */ color: rgb(175, 39, 55);
/* oklch */ color: oklch(49.8% 0.171 20.2);
Tailwind
colors: {
  custom: {
    50: '#cf6e6d',
    500: '#af2737',
    950: '#000000',
  },
}
SCSS
$custom: #af2737;
$custom-light: #cf6e6d;
$custom-dark: #000000;
JSON
{
  "hex": "#af2737",
  "rgb": {
    "r": 175,
    "g": 39,
    "b": 55
  },
  "hsl": {
    "h": 352.941,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.49805,
    "c": 0.17112,
    "h": 20.2
  },
  "luminance": 0.10841
}

Semantic roles & 50–950 ramp

primary
#AF2737
secondary
#6BC6BC
accent
#E7D341
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150807
muted
#837B7A

Preview Lab

Preview with #AF2737

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

Preview Lab → · Contrast checker → · Palette generator →

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