#AB273E#AB273E

#AB273E is a mid, vivid red. Relative luminance 0.105; OKLCH L 49.2% C 0.167 H 16.6°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#AB273E
RGBrgb(171, 39, 62)
HSLhsl(350, 63%, 41%)
HSVhsv(350, 77%, 67%)
CMYKcmyk(0%, 77.2%, 63.7%, 32.9%)
CIE-LABlab(38.65, 53.62, 19.82)
CIE-LCHlch(38.65, 57.17, 20.29°)
OKLaboklab(49.21% 0.1601 0.0478)
OKLCHoklch(49.21% 0.167 16.6)
XYZxyz(18.3916, 10.4595, 5.6070)
Luminance0.1046 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB273E #27AB94
analogous
#AB2780 #AB273E #AB5227
triadic
#AB273E #3EAB27 #273EAB
tetradic
#AB273E #80AB27 #27AB94 #5227AB
square
#AB273E #80AB27 #27AB94 #5227AB
split-complementary
#AB273E #27AB52 #2780AB
monochromatic
#47101A #791C2C #AB273E #D33D57 #DE6E82

Accessibility & contrast

On white

6.79
#AB273E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#AB273E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB273E
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB273E#FFFFFF#000000##FFFFFF
##AB273E1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D493E
Deuteranopia (green-blind)
#6E653A
Tritanopia (blue-blind)
#BC0031
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #ab273e;
/* rgb */ color: rgb(171, 39, 62);
/* oklch */ color: oklch(49.2% 0.167 16.6);
Tailwind
colors: {
  custom: {
    50: '#cb6d73',
    500: '#ab273e',
    950: '#000000',
  },
}
SCSS
$custom: #ab273e;
$custom-light: #cb6d73;
$custom-dark: #000000;
JSON
{
  "hex": "#ab273e",
  "rgb": {
    "r": 171,
    "g": 39,
    "b": 62
  },
  "hsl": {
    "h": 349.545,
    "s": 62.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.49214,
    "c": 0.16708,
    "h": 16.6
  },
  "luminance": 0.10457
}

Semantic roles & 50–950 ramp

primary
#AB273E
secondary
#69C5B5
accent
#E6C942
background
#FDF7F6
surface
#FAEDEC
border
#D3C8C7
text
#150808
muted
#837B7B

Preview Lab

Preview with #AB273E

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

Preview Lab → · Contrast checker → · Palette generator →

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