#AB303E#AB303E

#AB303E is a mid, vivid red. Relative luminance 0.111; OKLCH L 50.1% C 0.158 H 18.8°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#AB303E
RGBrgb(171, 48, 62)
HSLhsl(353, 56%, 43%)
HSVhsv(353, 72%, 67%)
CMYKcmyk(0%, 71.9%, 63.7%, 32.9%)
CIE-LABlab(39.79, 50.47, 21.29)
CIE-LCHlch(39.79, 54.78, 22.87°)
OKLaboklab(50.05% 0.15 0.0512)
OKLCHoklch(50.05% 0.158 18.8)
XYZxyz(18.7230, 11.1223, 5.7174)
Luminance0.1112 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB303E #30AB9D
analogous
#AB307B #AB303E #AB6030
triadic
#AB303E #3EAB30 #303EAB
tetradic
#AB303E #7BAB30 #30AB9D #6030AB
square
#AB303E #7BAB30 #30AB9D #6030AB
split-complementary
#AB303E #30AB60 #307BAB
monochromatic
#4B151B #7B232D #AB303E #CD4C5A #DA7B86

Accessibility & contrast

On white

6.51
#AB303E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#AB303E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB303E
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB303E#FFFFFF#000000##FFFFFF
##AB303E1.006.513.226.51
#FFFFFF6.511.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514D3E
Deuteranopia (green-blind)
#71673B
Tritanopia (blue-blind)
#BC0936
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #ab303e;
/* rgb */ color: rgb(171, 48, 62);
/* oklch */ color: oklch(50.1% 0.158 18.8);
Tailwind
colors: {
  custom: {
    50: '#cb7173',
    500: '#ab303e',
    950: '#000000',
  },
}
SCSS
$custom: #ab303e;
$custom-light: #cb7173;
$custom-dark: #000000;
JSON
{
  "hex": "#ab303e",
  "rgb": {
    "r": 171,
    "g": 48,
    "b": 62
  },
  "hsl": {
    "h": 353.171,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.50054,
    "c": 0.15849,
    "h": 18.8
  },
  "luminance": 0.1112
}

Semantic roles & 50–950 ramp

primary
#AB303E
secondary
#74C3BA
accent
#DFCE48
background
#FDF7F6
surface
#FAEDEC
border
#D3C8C7
text
#150808
muted
#837B7B

Preview Lab

Preview with #AB303E

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

Preview Lab → · Contrast checker → · Palette generator →

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