#AB232E#AB232E

#AB232E is a mid, vivid red. Relative luminance 0.101; OKLCH L 48.6% C 0.171 H 22.6°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#AB232E
RGBrgb(171, 35, 46)
HSLhsl(355, 66%, 40%)
HSVhsv(355, 80%, 67%)
CMYKcmyk(0%, 79.5%, 73.1%, 32.9%)
CIE-LABlab(37.95, 54.01, 28.92)
CIE-LCHlch(37.95, 61.26, 28.17°)
OKLaboklab(48.61% 0.1578 0.0659)
OKLCHoklch(48.61% 0.171 22.6)
XYZxyz(17.8908, 10.0601, 3.5840)
Luminance0.1006 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB232E #23ABA0
analogous
#AB2372 #AB232E #AB5C23
triadic
#AB232E #2EAB23 #232EAB
tetradic
#AB232E #72AB23 #23ABA0 #5C23AB
square
#AB232E #72AB23 #23ABA0 #5C23AB
split-complementary
#AB232E #23AB5C #2372AB
monochromatic
#450E13 #781920 #AB232E #D63542 #E06872

Accessibility & contrast

On white

6.97
#AB232E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#AB232E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB232E
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB232E#FFFFFF#000000##FFFFFF
##AB232E1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D472D
Deuteranopia (green-blind)
#6F6429
Tritanopia (blue-blind)
#BC0029
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #ab232e;
/* rgb */ color: rgb(171, 35, 46);
/* oklch */ color: oklch(48.6% 0.171 22.6);
Tailwind
colors: {
  custom: {
    50: '#cd6b66',
    500: '#ab232e',
    950: '#000000',
  },
}
SCSS
$custom: #ab232e;
$custom-light: #cd6b66;
$custom-dark: #000000;
JSON
{
  "hex": "#ab232e",
  "rgb": {
    "r": 171,
    "g": 35,
    "b": 46
  },
  "hsl": {
    "h": 355.147,
    "s": 66.019,
    "l": 40.392
  },
  "oklch": {
    "l": 0.48606,
    "c": 0.17103,
    "h": 22.6
  },
  "luminance": 0.10057
}

Semantic roles & 50–950 ramp

primary
#AB232E
secondary
#64C6BE
accent
#E9DB3F
background
#FDF6F6
surface
#FBECEB
border
#D4C7C6
text
#150706
muted
#837A7A

Preview Lab

Preview with #AB232E

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

Preview Lab → · Contrast checker → · Palette generator →

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