#AF2427#AF2427

#AF2427 is a mid, vivid red. Relative luminance 0.105; OKLCH L 49.3% C 0.175 H 25.6°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#AF2427
RGBrgb(175, 36, 39)
HSLhsl(359, 66%, 41%)
HSVhsv(359, 79%, 69%)
CMYKcmyk(0%, 79.4%, 77.7%, 31.4%)
CIE-LABlab(38.77, 54.62, 34.24)
CIE-LCHlch(38.77, 64.47, 32.09°)
OKLaboklab(49.33% 0.1577 0.0755)
OKLCHoklch(49.33% 0.175 25.6)
XYZxyz(18.6785, 10.5252, 2.9671)
Luminance0.1052 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2427 #24AFAC
analogous
#AF246D #AF2427 #AF6724
triadic
#AF2427 #27AF24 #2427AF
tetradic
#AF2427 #6DAF24 #24AFAC #6724AF
square
#AF2427 #6DAF24 #24AFAC #6724AF
split-complementary
#AF2427 #24AF67 #246DAF
monochromatic
#490F10 #7C1A1C #AF2427 #D63A3D #E16D6F

Accessibility & contrast

On white

6.76
#AF2427 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#AF2427 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2427
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2427#FFFFFF#000000##FFFFFF
##AF24271.006.763.106.76
#FFFFFF6.761.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504825
Deuteranopia (green-blind)
#726621
Tritanopia (blue-blind)
#C10027
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #af2427;
/* rgb */ color: rgb(175, 36, 39);
/* oklch */ color: oklch(49.3% 0.175 25.6);
Tailwind
colors: {
  custom: {
    50: '#d06c61',
    500: '#af2427',
    950: '#000000',
  },
}
SCSS
$custom: #af2427;
$custom-light: #d06c61;
$custom-dark: #000000;
JSON
{
  "hex": "#af2427",
  "rgb": {
    "r": 175,
    "g": 36,
    "b": 39
  },
  "hsl": {
    "h": 358.705,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.49328,
    "c": 0.17484,
    "h": 25.6
  },
  "luminance": 0.10522
}

Semantic roles & 50–950 ramp

primary
#AF2427
secondary
#68C7C5
accent
#E9E53F
background
#FEF6F5
surface
#FCECEA
border
#D5C7C6
text
#160805
muted
#847A79

Preview Lab

Preview with #AF2427

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

Preview Lab → · Contrast checker → · Palette generator →

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