#AB2937#AB2937

#AB2937 is a mid, vivid red. Relative luminance 0.105; OKLCH L 49.3% C 0.165 H 20.3°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#AB2937
RGBrgb(171, 41, 55)
HSLhsl(354, 61%, 42%)
HSVhsv(354, 76%, 67%)
CMYKcmyk(0%, 76%, 67.8%, 32.9%)
CIE-LABlab(38.76, 52.56, 24.35)
CIE-LCHlch(38.76, 57.92, 24.86°)
OKLaboklab(49.26% 0.1552 0.0573)
OKLCHoklch(49.26% 0.165 20.3)
XYZxyz(18.2791, 10.5224, 4.6822)
Luminance0.1052 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2937 #29AB9D
analogous
#AB2978 #AB2937 #AB5C29
triadic
#AB2937 #37AB29 #2937AB
tetradic
#AB2937 #78AB29 #29AB9D #5C29AB
square
#AB2937 #78AB29 #29AB9D #5C29AB
split-complementary
#AB2937 #29AB5C #2978AB
monochromatic
#481117 #7A1D27 #AB2937 #D14050 #DD717D

Accessibility & contrast

On white

6.77
#AB2937 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#AB2937 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2937
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2937#FFFFFF#000000##FFFFFF
##AB29371.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4A36
Deuteranopia (green-blind)
#6F6533
Tritanopia (blue-blind)
#BC002F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #ab2937;
/* rgb */ color: rgb(171, 41, 55);
/* oklch */ color: oklch(49.3% 0.165 20.3);
Tailwind
colors: {
  custom: {
    50: '#cc6e6d',
    500: '#ab2937',
    950: '#000000',
  },
}
SCSS
$custom: #ab2937;
$custom-light: #cc6e6d;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2937",
  "rgb": {
    "r": 171,
    "g": 41,
    "b": 55
  },
  "hsl": {
    "h": 353.538,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.49255,
    "c": 0.16544,
    "h": 20.3
  },
  "luminance": 0.1052
}

Semantic roles & 50–950 ramp

primary
#AB2937
secondary
#6CC4BB
accent
#E4D343
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150807
muted
#837B7A

Preview Lab

Preview with #AB2937

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

Preview Lab → · Contrast checker → · Palette generator →

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