#AB2938#AB2938

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

Color values

HEX#AB2938
RGBrgb(171, 41, 56)
HSLhsl(353, 61%, 42%)
HSVhsv(353, 76%, 67%)
CMYKcmyk(0%, 76%, 67.3%, 32.9%)
CIE-LABlab(38.78, 52.61, 23.75)
CIE-LCHlch(38.78, 57.72, 24.30°)
OKLaboklab(49.27% 0.1556 0.0561)
OKLCHoklch(49.27% 0.165 19.8)
XYZxyz(18.3033, 10.5321, 4.8097)
Luminance0.1053 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2938 #29AB9C
analogous
#AB2979 #AB2938 #AB5B29
triadic
#AB2938 #38AB29 #2938AB
tetradic
#AB2938 #79AB29 #29AB9C #5B29AB
square
#AB2938 #79AB29 #29AB9C #5B29AB
split-complementary
#AB2938 #29AB5B #2979AB
monochromatic
#481118 #7A1D28 #AB2938 #D14051 #DD717E

Accessibility & contrast

On white

6.76
#AB2938 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#AB2938 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2938
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2938#FFFFFF#000000##FFFFFF
##AB29381.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ab2938;
/* rgb */ color: rgb(171, 41, 56);
/* oklch */ color: oklch(49.3% 0.165 19.8);
Tailwind
colors: {
  custom: {
    50: '#cc6e6e',
    500: '#ab2938',
    950: '#000000',
  },
}
SCSS
$custom: #ab2938;
$custom-light: #cc6e6e;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2938",
  "rgb": {
    "r": 171,
    "g": 41,
    "b": 56
  },
  "hsl": {
    "h": 353.077,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.49273,
    "c": 0.1654,
    "h": 19.8
  },
  "luminance": 0.10529
}

Semantic roles & 50–950 ramp

primary
#AB2938
secondary
#6CC4BA
accent
#E4D243
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150807
muted
#837B7A

Preview Lab

Preview with #AB2938

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

Preview Lab → · Contrast checker → · Palette generator →

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