#AF2730#AF2730

#AF2730 is a mid, vivid red. Relative luminance 0.108; OKLCH L 49.7% C 0.172 H 23.0°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#AF2730
RGBrgb(175, 39, 48)
HSLhsl(356, 64%, 42%)
HSVhsv(356, 78%, 69%)
CMYKcmyk(0%, 77.7%, 72.6%, 31.4%)
CIE-LABlab(39.21, 54.07, 29.38)
CIE-LCHlch(39.21, 61.54, 28.52°)
OKLaboklab(49.69% 0.158 0.0671)
OKLCHoklch(49.69% 0.172 23)
XYZxyz(18.9404, 10.7814, 3.8794)
Luminance0.1078 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2730 #27AFA6
analogous
#AF2774 #AF2730 #AF6227
triadic
#AF2730 #30AF27 #2730AF
tetradic
#AF2730 #74AF27 #27AFA6 #6227AF
square
#AF2730 #74AF27 #27AFA6 #6227AF
split-complementary
#AF2730 #27AF62 #2774AF
monochromatic
#4B1115 #7D1C22 #AF2730 #D43F49 #DF7178

Accessibility & contrast

On white

6.65
#AF2730 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#AF2730 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2730
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2730#FFFFFF#000000##FFFFFF
##AF27301.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504A2F
Deuteranopia (green-blind)
#72672B
Tritanopia (blue-blind)
#C1002C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #af2730;
/* rgb */ color: rgb(175, 39, 48);
/* oklch */ color: oklch(49.7% 0.172 23.0);
Tailwind
colors: {
  custom: {
    50: '#cf6e68',
    500: '#af2730',
    950: '#000000',
  },
}
SCSS
$custom: #af2730;
$custom-light: #cf6e68;
$custom-dark: #000000;
JSON
{
  "hex": "#af2730",
  "rgb": {
    "r": 175,
    "g": 39,
    "b": 48
  },
  "hsl": {
    "h": 356.029,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.49692,
    "c": 0.17161,
    "h": 23
  },
  "luminance": 0.10778
}

Semantic roles & 50–950 ramp

primary
#AF2730
secondary
#6BC6C0
accent
#E7DC41
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A

Preview Lab

Preview with #AF2730

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

Preview Lab → · Contrast checker → · Palette generator →

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