#AB273F#AB273F

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

Color values

HEX#AB273F
RGBrgb(171, 39, 63)
HSLhsl(349, 63%, 41%)
HSVhsv(349, 77%, 67%)
CMYKcmyk(0%, 77.2%, 63.2%, 32.9%)
CIE-LABlab(38.67, 53.68, 19.22)
CIE-LCHlch(38.67, 57.02, 19.70°)
OKLaboklab(49.24% 0.1605 0.0465)
OKLCHoklch(49.24% 0.167 16.2)
XYZxyz(18.4192, 10.4706, 5.7528)
Luminance0.1047 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB273F #27AB93
analogous
#AB2781 #AB273F #AB5127
triadic
#AB273F #3FAB27 #273FAB
tetradic
#AB273F #81AB27 #27AB93 #5127AB
square
#AB273F #81AB27 #27AB93 #5127AB
split-complementary
#AB273F #27AB51 #2781AB
monochromatic
#47101A #791C2D #AB273F #D33D58 #DE6E83

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB273F#FFFFFF#000000##FFFFFF
##AB273F1.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)
#4C493F
Deuteranopia (green-blind)
#6E653B
Tritanopia (blue-blind)
#BC0031
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #ab273f;
/* rgb */ color: rgb(171, 39, 63);
/* oklch */ color: oklch(49.2% 0.167 16.2);
Tailwind
colors: {
  custom: {
    50: '#cb6d73',
    500: '#ab273f',
    950: '#000000',
  },
}
SCSS
$custom: #ab273f;
$custom-light: #cb6d73;
$custom-dark: #000000;
JSON
{
  "hex": "#ab273f",
  "rgb": {
    "r": 171,
    "g": 39,
    "b": 63
  },
  "hsl": {
    "h": 349.091,
    "s": 62.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.49235,
    "c": 0.16709,
    "h": 16.2
  },
  "luminance": 0.10468
}

Semantic roles & 50–950 ramp

primary
#AB273F
secondary
#69C5B4
accent
#E6C842
background
#FDF7F7
surface
#FAEDED
border
#D3C8C8
text
#150808
muted
#837B7B

Preview Lab

Preview with #AB273F

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

Preview Lab → · Contrast checker → · Palette generator →

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