#AF2527#AF2527

#AF2527 is a mid, vivid red. Relative luminance 0.106; OKLCH L 49.4% C 0.174 H 25.8°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#AF2527
RGBrgb(175, 37, 39)
HSLhsl(359, 65%, 42%)
HSVhsv(359, 79%, 69%)
CMYKcmyk(0%, 78.9%, 77.7%, 31.4%)
CIE-LABlab(38.88, 54.32, 34.36)
CIE-LCHlch(38.88, 64.28, 32.31°)
OKLaboklab(49.41% 0.1568 0.0757)
OKLCHoklch(49.41% 0.174 25.8)
XYZxyz(18.7092, 10.5866, 2.9774)
Luminance0.1058 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2527 #25AFAD
analogous
#AF256C #AF2527 #AF6825
triadic
#AF2527 #27AF25 #2527AF
tetradic
#AF2527 #6CAF25 #25AFAD #6825AF
square
#AF2527 #6CAF25 #25AFAD #6825AF
split-complementary
#AF2527 #25AF68 #256CAF
monochromatic
#4A1010 #7C1A1C #AF2527 #D63C3E #E06E70

Accessibility & contrast

On white

6.74
#AF2527 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#AF2527 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2527
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2527#FFFFFF#000000##FFFFFF
##AF25271.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af2527;
/* rgb */ color: rgb(175, 37, 39);
/* oklch */ color: oklch(49.4% 0.174 25.8);
Tailwind
colors: {
  custom: {
    50: '#d06d62',
    500: '#af2527',
    950: '#000000',
  },
}
SCSS
$custom: #af2527;
$custom-light: #d06d62;
$custom-dark: #000000;
JSON
{
  "hex": "#af2527",
  "rgb": {
    "r": 175,
    "g": 37,
    "b": 39
  },
  "hsl": {
    "h": 359.13,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.49407,
    "c": 0.17409,
    "h": 25.8
  },
  "luminance": 0.10584
}

Semantic roles & 50–950 ramp

primary
#AF2527
secondary
#69C7C6
accent
#E8E640
background
#FEF6F5
surface
#FCECEA
border
#D5C7C6
text
#160805
muted
#847A79

Preview Lab

Preview with #AF2527

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

Preview Lab → · Contrast checker → · Palette generator →

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