#AF273E#AF273E

#AF273E is a mid, vivid red. Relative luminance 0.109; OKLCH L 49.9% C 0.171 H 17.1°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#AF273E
RGBrgb(175, 39, 62)
HSLhsl(350, 64%, 42%)
HSVhsv(350, 78%, 69%)
CMYKcmyk(0%, 77.7%, 64.6%, 31.4%)
CIE-LABlab(39.44, 54.81, 20.99)
CIE-LCHlch(39.44, 58.69, 20.96°)
OKLaboklab(49.94% 0.1634 0.0504)
OKLCHoklch(49.94% 0.171 17.1)
XYZxyz(19.2763, 10.9157, 5.6484)
Luminance0.1091 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF273E #27AF98
analogous
#AF2782 #AF273E #AF5427
triadic
#AF273E #3EAF27 #273EAF
tetradic
#AF273E #82AF27 #27AF98 #5427AF
square
#AF273E #82AF27 #27AF98 #5427AF
split-complementary
#AF273E #27AF54 #2782AF
monochromatic
#4B111B #7D1C2C #AF273E #D43F58 #DF7184

Accessibility & contrast

On white

6.60
#AF273E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#AF273E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF273E
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF273E#FFFFFF#000000##FFFFFF
##AF273E1.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4B3E
Deuteranopia (green-blind)
#71673A
Tritanopia (blue-blind)
#C00031
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #af273e;
/* rgb */ color: rgb(175, 39, 62);
/* oklch */ color: oklch(49.9% 0.171 17.1);
Tailwind
colors: {
  custom: {
    50: '#ce6e73',
    500: '#af273e',
    950: '#000000',
  },
}
SCSS
$custom: #af273e;
$custom-light: #ce6e73;
$custom-dark: #000000;
JSON
{
  "hex": "#af273e",
  "rgb": {
    "r": 175,
    "g": 39,
    "b": 62
  },
  "hsl": {
    "h": 349.853,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.49935,
    "c": 0.17095,
    "h": 17.1
  },
  "luminance": 0.10913
}

Semantic roles & 50–950 ramp

primary
#AF273E
secondary
#6BC6B7
accent
#E7CB41
background
#FDF7F6
surface
#FBEDEC
border
#D4C8C7
text
#150808
muted
#837B7B

Preview Lab

Preview with #AF273E

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

Preview Lab → · Contrast checker → · Palette generator →

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