#AB2C45#AB2C45

#AB2C45 is a mid, vivid red. Relative luminance 0.109; OKLCH L 49.8% C 0.163 H 14.4°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#AB2C45
RGBrgb(171, 44, 69)
HSLhsl(348, 59%, 42%)
HSVhsv(348, 74%, 67%)
CMYKcmyk(0%, 74.3%, 59.6%, 32.9%)
CIE-LABlab(39.40, 52.39, 16.39)
CIE-LCHlch(39.40, 54.90, 17.37°)
OKLaboklab(49.81% 0.1575 0.0404)
OKLCHoklch(49.81% 0.163 14.4)
XYZxyz(18.7713, 10.8917, 6.7429)
Luminance0.1089 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2C45 #2CAB92
analogous
#AB2C85 #AB2C45 #AB532C
triadic
#AB2C45 #45AB2C #2C45AB
tetradic
#AB2C45 #85AB2C #2CAB92 #532CAB
square
#AB2C45 #85AB2C #2CAB92 #532CAB
split-complementary
#AB2C45 #2CAB53 #2C85AB
monochromatic
#4A131E #7A1F31 #AB2C45 #CF4560 #DC768A

Accessibility & contrast

On white

6.61
#AB2C45 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#AB2C45 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2C45
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2C45#FFFFFF#000000##FFFFFF
##AB2C451.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4C45
Deuteranopia (green-blind)
#6F6642
Tritanopia (blue-blind)
#BB0136
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #ab2c45;
/* rgb */ color: rgb(171, 44, 69);
/* oklch */ color: oklch(49.8% 0.163 14.4);
Tailwind
colors: {
  custom: {
    50: '#cb7078',
    500: '#ab2c45',
    950: '#000000',
  },
}
SCSS
$custom: #ab2c45;
$custom-light: #cb7078;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2c45",
  "rgb": {
    "r": 171,
    "g": 44,
    "b": 69
  },
  "hsl": {
    "h": 348.189,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.4981,
    "c": 0.16258,
    "h": 14.4
  },
  "luminance": 0.10889
}

Semantic roles & 50–950 ramp

primary
#AB2C45
secondary
#6FC3B3
accent
#E2C346
background
#FDF7F7
surface
#FAEDED
border
#D3C8C8
text
#150808
muted
#837B7B

Preview Lab

Preview with #AB2C45

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

Preview Lab → · Contrast checker → · Palette generator →

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