#AB314E#AB314E

#AB314E is a mid, vivid red. Relative luminance 0.114; OKLCH L 50.5% C 0.158 H 11.0°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#AB314E
RGBrgb(171, 49, 78)
HSLhsl(346, 55%, 43%)
HSVhsv(346, 71%, 67%)
CMYKcmyk(0%, 71.3%, 54.4%, 32.9%)
CIE-LABlab(40.26, 51.24, 11.88)
CIE-LCHlch(40.26, 52.60, 13.05°)
OKLaboklab(50.51% 0.1552 0.0301)
OKLCHoklch(50.51% 0.158 11)
XYZxyz(19.2698, 11.4072, 8.3934)
Luminance0.1140 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB314E #31AB8E
analogous
#AB318B #AB314E #AB5131
triadic
#AB314E #4EAB31 #314EAB
tetradic
#AB314E #8BAB31 #31AB8E #5131AB
square
#AB314E #8BAB31 #31AB8E #5131AB
split-complementary
#AB314E #31AB51 #318BAB
monochromatic
#4C1623 #7B2338 #AB314E #CC4D6B #DA7D93

Accessibility & contrast

On white

6.40
#AB314E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#AB314E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB314E
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB314E#FFFFFF#000000##FFFFFF
##AB314E1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4F4E
Deuteranopia (green-blind)
#6F684B
Tritanopia (blue-blind)
#BB163D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #ab314e;
/* rgb */ color: rgb(171, 49, 78);
/* oklch */ color: oklch(50.5% 0.158 11.0);
Tailwind
colors: {
  custom: {
    50: '#ca727f',
    500: '#ab314e',
    950: '#000000',
  },
}
SCSS
$custom: #ab314e;
$custom-light: #ca727f;
$custom-dark: #000000;
JSON
{
  "hex": "#ab314e",
  "rgb": {
    "r": 171,
    "g": 49,
    "b": 78
  },
  "hsl": {
    "h": 345.738,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.50514,
    "c": 0.15808,
    "h": 11
  },
  "luminance": 0.11405
}

Semantic roles & 50–950 ramp

primary
#AB314E
secondary
#75C2B0
accent
#DFBB49
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#14080A
muted
#837B7C

Preview Lab

Preview with #AB314E

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

Preview Lab → · Contrast checker → · Palette generator →

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