#AF2927#AF2927

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

Color values

HEX#AF2927
RGBrgb(175, 41, 39)
HSLhsl(1, 64%, 42%)
HSVhsv(1, 78%, 69%)
CMYKcmyk(0%, 76.6%, 77.7%, 31.4%)
CIE-LABlab(39.33, 53.06, 34.84)
CIE-LCHlch(39.33, 63.48, 33.29°)
OKLaboklab(49.74% 0.1528 0.0768)
OKLCHoklch(49.74% 0.171 26.7)
XYZxyz(18.8406, 10.8493, 3.0212)
Luminance0.1085 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2927 #27ADAF
analogous
#AF2769 #AF2927 #AF6D27
triadic
#AF2927 #27AF29 #2927AF
tetradic
#AF2927 #69AF27 #27ADAF #6D27AF
square
#AF2927 #69AF27 #27ADAF #6D27AF
split-complementary
#AF2927 #27AF6D #2769AF
monochromatic
#4B1211 #7D1D1C #AF2927 #D4413F #DF7371

Accessibility & contrast

On white

6.63
#AF2927 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#AF2927 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2927
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2927#FFFFFF#000000##FFFFFF
##AF29271.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524A25
Deuteranopia (green-blind)
#736721
Tritanopia (blue-blind)
#C1002A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #af2927;
/* rgb */ color: rgb(175, 41, 39);
/* oklch */ color: oklch(49.7% 0.171 26.7);
Tailwind
colors: {
  custom: {
    50: '#d06e62',
    500: '#af2927',
    950: '#000000',
  },
}
SCSS
$custom: #af2927;
$custom-light: #d06e62;
$custom-dark: #000000;
JSON
{
  "hex": "#af2927",
  "rgb": {
    "r": 175,
    "g": 41,
    "b": 39
  },
  "hsl": {
    "h": 0.882,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.49742,
    "c": 0.17099,
    "h": 26.7
  },
  "luminance": 0.10846
}

Semantic roles & 50–950 ramp

primary
#AF2927
secondary
#6BC5C6
accent
#E4E741
background
#FEF7F5
surface
#FCEDEA
border
#D5C8C6
text
#160805
muted
#847B79

Preview Lab

Preview with #AF2927

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

Preview Lab → · Contrast checker → · Palette generator →

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