#AF2627#AF2627

#AF2627 is a mid, vivid red. Relative luminance 0.106; OKLCH L 49.5% C 0.173 H 26.0°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#AF2627
RGBrgb(175, 38, 39)
HSLhsl(360, 64%, 42%)
HSVhsv(360, 78%, 69%)
CMYKcmyk(0%, 78.3%, 77.7%, 31.4%)
CIE-LABlab(38.98, 54.02, 34.48)
CIE-LCHlch(38.98, 64.08, 32.55°)
OKLaboklab(49.49% 0.1558 0.076)
OKLCHoklch(49.49% 0.173 26)
XYZxyz(18.7408, 10.6497, 2.9879)
Luminance0.1065 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2627 #26AFAE
analogous
#AF266C #AF2627 #AF6A26
triadic
#AF2627 #27AF26 #2627AF
tetradic
#AF2627 #6CAF26 #26AFAE #6A26AF
square
#AF2627 #6CAF26 #26AFAE #6A26AF
split-complementary
#AF2627 #26AF6A #266CAF
monochromatic
#4A1011 #7D1B1C #AF2627 #D53D3E #E07070

Accessibility & contrast

On white

6.71
#AF2627 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#AF2627 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2627
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2627#FFFFFF#000000##FFFFFF
##AF26271.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514925
Deuteranopia (green-blind)
#726621
Tritanopia (blue-blind)
#C10028
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #af2627;
/* rgb */ color: rgb(175, 38, 39);
/* oklch */ color: oklch(49.5% 0.173 26.0);
Tailwind
colors: {
  custom: {
    50: '#d06d62',
    500: '#af2627',
    950: '#000000',
  },
}
SCSS
$custom: #af2627;
$custom-light: #d06d62;
$custom-dark: #000000;
JSON
{
  "hex": "#af2627",
  "rgb": {
    "r": 175,
    "g": 38,
    "b": 39
  },
  "hsl": {
    "h": 359.562,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.49488,
    "c": 0.17333,
    "h": 26
  },
  "luminance": 0.10647
}

Semantic roles & 50–950 ramp

primary
#AF2627
secondary
#6AC7C6
accent
#E7E640
background
#FEF6F5
surface
#FCECEA
border
#D5C7C6
text
#160805
muted
#847A79

Preview Lab

Preview with #AF2627

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

Preview Lab → · Contrast checker → · Palette generator →

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