#AB303F#AB303F

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

Color values

HEX#AB303F
RGBrgb(171, 48, 63)
HSLhsl(353, 56%, 43%)
HSVhsv(353, 72%, 67%)
CMYKcmyk(0%, 71.9%, 63.2%, 32.9%)
CIE-LABlab(39.80, 50.53, 20.69)
CIE-LCHlch(39.80, 54.60, 22.26°)
OKLaboklab(50.07% 0.1504 0.0499)
OKLCHoklch(50.07% 0.158 18.4)
XYZxyz(18.7507, 11.1334, 5.8633)
Luminance0.1113 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB303F #30AB9C
analogous
#AB307C #AB303F #AB5E30
triadic
#AB303F #3FAB30 #303FAB
tetradic
#AB303F #7CAB30 #30AB9C #5E30AB
square
#AB303F #7CAB30 #30AB9C #5E30AB
split-complementary
#AB303F #30AB5E #307CAB
monochromatic
#4B151C #7B232D #AB303F #CD4C5B #DA7B87

Accessibility & contrast

On white

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

On black

3.23
#AB303F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##AB303F#FFFFFF#000000##FFFFFF
##AB303F1.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514D3F
Deuteranopia (green-blind)
#71673C
Tritanopia (blue-blind)
#BC0A36
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #ab303f;
/* rgb */ color: rgb(171, 48, 63);
/* oklch */ color: oklch(50.1% 0.158 18.4);
Tailwind
colors: {
  custom: {
    50: '#cb7173',
    500: '#ab303f',
    950: '#000000',
  },
}
SCSS
$custom: #ab303f;
$custom-light: #cb7173;
$custom-dark: #000000;
JSON
{
  "hex": "#ab303f",
  "rgb": {
    "r": 171,
    "g": 48,
    "b": 63
  },
  "hsl": {
    "h": 352.683,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.50074,
    "c": 0.15846,
    "h": 18.4
  },
  "luminance": 0.11131
}

Semantic roles & 50–950 ramp

primary
#AB303F
secondary
#74C3B9
accent
#DFCD48
background
#FDF7F7
surface
#FAEDED
border
#D3C8C8
text
#150808
muted
#837B7B

Preview Lab

Preview with #AB303F

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

Preview Lab → · Contrast checker → · Palette generator →

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