#AF2827#AF2827

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

Color values

HEX#AF2827
RGBrgb(175, 40, 39)
HSLhsl(0, 64%, 42%)
HSVhsv(0, 78%, 69%)
CMYKcmyk(0%, 77.1%, 77.7%, 31.4%)
CIE-LABlab(39.21, 53.39, 34.72)
CIE-LCHlch(39.21, 63.68, 33.03°)
OKLaboklab(49.66% 0.1538 0.0765)
OKLCHoklch(49.66% 0.172 26.4)
XYZxyz(18.8064, 10.7810, 3.0098)
Luminance0.1078 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2827 #27AEAF
analogous
#AF276A #AF2827 #AF6C27
triadic
#AF2827 #27AF28 #2827AF
tetradic
#AF2827 #6AAF27 #27AEAF #6C27AF
square
#AF2827 #6AAF27 #27AEAF #6C27AF
split-complementary
#AF2827 #27AF6C #276AAF
monochromatic
#4B1111 #7D1D1C #AF2827 #D4403F #DF7271

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF2827#FFFFFF#000000##FFFFFF
##AF28271.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)
#524A25
Deuteranopia (green-blind)
#736721
Tritanopia (blue-blind)
#C1002A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #af2827;
/* rgb */ color: rgb(175, 40, 39);
/* oklch */ color: oklch(49.7% 0.172 26.4);
Tailwind
colors: {
  custom: {
    50: '#d06e62',
    500: '#af2827',
    950: '#000000',
  },
}
SCSS
$custom: #af2827;
$custom-light: #d06e62;
$custom-dark: #000000;
JSON
{
  "hex": "#af2827",
  "rgb": {
    "r": 175,
    "g": 40,
    "b": 39
  },
  "hsl": {
    "h": 0.441,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.49655,
    "c": 0.17178,
    "h": 26.4
  },
  "luminance": 0.10778
}

Semantic roles & 50–950 ramp

primary
#AF2827
secondary
#6BC6C6
accent
#E5E741
background
#FEF7F5
surface
#FCEDEA
border
#D5C8C6
text
#160805
muted
#847B79

Preview Lab

Preview with #AF2827

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

Preview Lab → · Contrast checker → · Palette generator →

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