#AB273C#AB273C

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

Color values

HEX#AB273C
RGBrgb(171, 39, 60)
HSLhsl(350, 63%, 41%)
HSVhsv(350, 77%, 67%)
CMYKcmyk(0%, 77.2%, 64.9%, 32.9%)
CIE-LABlab(38.62, 53.50, 21.04)
CIE-LCHlch(38.62, 57.48, 21.47°)
OKLaboklab(49.17% 0.1593 0.0504)
OKLCHoklch(49.17% 0.167 17.6)
XYZxyz(18.3377, 10.4380, 5.3232)
Luminance0.1043 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB273C #27AB96
analogous
#AB277E #AB273C #AB5427
triadic
#AB273C #3CAB27 #273CAB
tetradic
#AB273C #7EAB27 #27AB96 #5427AB
square
#AB273C #7EAB27 #27AB96 #5427AB
split-complementary
#AB273C #27AB54 #277EAB
monochromatic
#471019 #791C2B #AB273C #D33D54 #DE6E80

Accessibility & contrast

On white

6.80
#AB273C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB273C
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB273C#FFFFFF#000000##FFFFFF
##AB273C1.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D493C
Deuteranopia (green-blind)
#6E6538
Tritanopia (blue-blind)
#BC0030
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #ab273c;
/* rgb */ color: rgb(171, 39, 60);
/* oklch */ color: oklch(49.2% 0.167 17.6);
Tailwind
colors: {
  custom: {
    50: '#cb6d71',
    500: '#ab273c',
    950: '#000000',
  },
}
SCSS
$custom: #ab273c;
$custom-light: #cb6d71;
$custom-dark: #000000;
JSON
{
  "hex": "#ab273c",
  "rgb": {
    "r": 171,
    "g": 39,
    "b": 60
  },
  "hsl": {
    "h": 350.455,
    "s": 62.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.49174,
    "c": 0.16707,
    "h": 17.6
  },
  "luminance": 0.10435
}

Semantic roles & 50–950 ramp

primary
#AB273C
secondary
#69C5B6
accent
#E6CC42
background
#FDF7F6
surface
#FAEDEC
border
#D3C8C7
text
#150807
muted
#837B7A

Preview Lab

Preview with #AB273C

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

Preview Lab → · Contrast checker → · Palette generator →

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