#AF2D27#AF2D27

#AF2D27 is a mid, vivid red. Relative luminance 0.111; OKLCH L 50.1% C 0.168 H 27.7°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#AF2D27
RGBrgb(175, 45, 39)
HSLhsl(3, 64%, 42%)
HSVhsv(3, 78%, 69%)
CMYKcmyk(0%, 74.3%, 77.7%, 31.4%)
CIE-LABlab(39.82, 51.70, 35.36)
CIE-LCHlch(39.82, 62.64, 34.37°)
OKLaboklab(50.11% 0.1485 0.0779)
OKLCHoklch(50.11% 0.168 27.7)
XYZxyz(18.9860, 11.1402, 3.0696)
Luminance0.1114 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2D27 #27A9AF
analogous
#AF2765 #AF2D27 #AF7127
triadic
#AF2D27 #27AF2D #2D27AF
tetradic
#AF2D27 #65AF27 #27A9AF #7127AF
square
#AF2D27 #65AF27 #27A9AF #7127AF
split-complementary
#AF2D27 #27AF71 #2765AF
monochromatic
#4B1311 #7D201C #AF2D27 #D4463F #DF7671

Accessibility & contrast

On white

6.51
#AF2D27 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#AF2D27 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2D27
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2D27#FFFFFF#000000##FFFFFF
##AF2D271.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544C25
Deuteranopia (green-blind)
#746822
Tritanopia (blue-blind)
#C1002D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #af2d27;
/* rgb */ color: rgb(175, 45, 39);
/* oklch */ color: oklch(50.1% 0.168 27.7);
Tailwind
colors: {
  custom: {
    50: '#d07062',
    500: '#af2d27',
    950: '#000000',
  },
}
SCSS
$custom: #af2d27;
$custom-light: #d07062;
$custom-dark: #000000;
JSON
{
  "hex": "#af2d27",
  "rgb": {
    "r": 175,
    "g": 45,
    "b": 39
  },
  "hsl": {
    "h": 2.647,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.50107,
    "c": 0.16768,
    "h": 27.7
  },
  "luminance": 0.11137
}

Semantic roles & 50–950 ramp

primary
#AF2D27
secondary
#6BC2C6
accent
#DFE741
background
#FEF7F5
surface
#FCEDEA
border
#D5C8C6
text
#160805
muted
#847B79

Preview Lab

Preview with #AF2D27

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

Preview Lab → · Contrast checker → · Palette generator →

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