#AF2729#AF2729

#AF2729 is a mid, vivid red. Relative luminance 0.107; OKLCH L 49.6% C 0.172 H 25.5°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#AF2729
RGBrgb(175, 39, 41)
HSLhsl(359, 64%, 42%)
HSVhsv(359, 78%, 69%)
CMYKcmyk(0%, 77.7%, 76.6%, 31.4%)
CIE-LABlab(39.12, 53.78, 33.46)
CIE-LCHlch(39.12, 63.34, 31.88°)
OKLaboklab(49.6% 0.1555 0.0743)
OKLCHoklch(49.6% 0.172 25.5)
XYZxyz(18.8072, 10.7281, 3.1778)
Luminance0.1072 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2729 #27AFAD
analogous
#AF276D #AF2729 #AF6927
triadic
#AF2729 #29AF27 #2729AF
tetradic
#AF2729 #6DAF27 #27AFAD #6927AF
square
#AF2729 #6DAF27 #27AFAD #6927AF
split-complementary
#AF2729 #27AF69 #276DAF
monochromatic
#4B1112 #7D1C1D #AF2729 #D43F41 #DF7173

Accessibility & contrast

On white

6.68
#AF2729 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#AF2729 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2729
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2729#FFFFFF#000000##FFFFFF
##AF27291.006.683.156.68
#FFFFFF6.681.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514927
Deuteranopia (green-blind)
#736724
Tritanopia (blue-blind)
#C1002A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #af2729;
/* rgb */ color: rgb(175, 39, 41);
/* oklch */ color: oklch(49.6% 0.172 25.5);
Tailwind
colors: {
  custom: {
    50: '#d06d63',
    500: '#af2729',
    950: '#000000',
  },
}
SCSS
$custom: #af2729;
$custom-light: #d06d63;
$custom-dark: #000000;
JSON
{
  "hex": "#af2729",
  "rgb": {
    "r": 175,
    "g": 39,
    "b": 41
  },
  "hsl": {
    "h": 359.118,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.49595,
    "c": 0.17233,
    "h": 25.5
  },
  "luminance": 0.10725
}

Semantic roles & 50–950 ramp

primary
#AF2729
secondary
#6BC6C5
accent
#E7E441
background
#FEF7F5
surface
#FCEDEA
border
#D5C8C6
text
#160805
muted
#847B79

Preview Lab

Preview with #AF2729

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

Preview Lab → · Contrast checker → · Palette generator →

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