#AB2843#AB2843

#AB2843 is a mid, vivid red. Relative luminance 0.106; OKLCH L 49.4% C 0.166 H 14.5°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#AB2843
RGBrgb(171, 40, 67)
HSLhsl(348, 62%, 41%)
HSVhsv(348, 77%, 67%)
CMYKcmyk(0%, 76.6%, 60.8%, 32.9%)
CIE-LABlab(38.87, 53.61, 16.95)
CIE-LCHlch(38.87, 56.23, 17.54°)
OKLaboklab(49.41% 0.1611 0.0415)
OKLCHoklch(49.41% 0.166 14.5)
XYZxyz(18.5684, 10.5835, 6.3742)
Luminance0.1058 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2843 #28AB90
analogous
#AB2885 #AB2843 #AB4F28
triadic
#AB2843 #43AB28 #2843AB
tetradic
#AB2843 #85AB28 #28AB90 #4F28AB
square
#AB2843 #85AB28 #28AB90 #4F28AB
split-complementary
#AB2843 #28AB4F #2885AB
monochromatic
#48111C #791C30 #AB2843 #D23E5D #DE7086

Accessibility & contrast

On white

6.74
#AB2843 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#AB2843 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2843
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2843#FFFFFF#000000##FFFFFF
##AB28431.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4A43
Deuteranopia (green-blind)
#6E653F
Tritanopia (blue-blind)
#BB0033
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #ab2843;
/* rgb */ color: rgb(171, 40, 67);
/* oklch */ color: oklch(49.4% 0.166 14.5);
Tailwind
colors: {
  custom: {
    50: '#cb6e76',
    500: '#ab2843',
    950: '#000000',
  },
}
SCSS
$custom: #ab2843;
$custom-light: #cb6e76;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2843",
  "rgb": {
    "r": 171,
    "g": 40,
    "b": 67
  },
  "hsl": {
    "h": 347.634,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.49406,
    "c": 0.16632,
    "h": 14.5
  },
  "luminance": 0.10581
}

Semantic roles & 50–950 ramp

primary
#AB2843
secondary
#6AC4B2
accent
#E5C443
background
#FDF7F7
surface
#FAEDED
border
#D3C8C8
text
#150808
muted
#837B7B

Preview Lab

Preview with #AB2843

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

Preview Lab → · Contrast checker → · Palette generator →

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