#AB2346#AB2346

#AB2346 is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.1% C 0.171 H 12.1°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#AB2346
RGBrgb(171, 35, 70)
HSLhsl(345, 66%, 40%)
HSVhsv(345, 80%, 67%)
CMYKcmyk(0%, 79.5%, 59.1%, 32.9%)
CIE-LABlab(38.38, 55.37, 14.39)
CIE-LCHlch(38.38, 57.21, 14.56°)
OKLaboklab(49.07% 0.1672 0.0357)
OKLCHoklch(49.07% 0.171 12.1)
XYZxyz(18.5030, 10.3049, 6.8079)
Luminance0.1030 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2346 #23AB88
analogous
#AB238A #AB2346 #AB4423
triadic
#AB2346 #46AB23 #2346AB
tetradic
#AB2346 #8AAB23 #23AB88 #4423AB
square
#AB2346 #8AAB23 #23AB88 #4423AB
split-complementary
#AB2346 #23AB44 #238AAB
monochromatic
#450E1C #781931 #AB2346 #D6355F #E06887

Accessibility & contrast

On white

6.86
#AB2346 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#AB2346 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2346
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2346#FFFFFF#000000##FFFFFF
##AB23461.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494946
Deuteranopia (green-blind)
#6C6442
Tritanopia (blue-blind)
#BB0032
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #ab2346;
/* rgb */ color: rgb(171, 35, 70);
/* oklch */ color: oklch(49.1% 0.171 12.1);
Tailwind
colors: {
  custom: {
    50: '#cb6c79',
    500: '#ab2346',
    950: '#000000',
  },
}
SCSS
$custom: #ab2346;
$custom-light: #cb6c79;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2346",
  "rgb": {
    "r": 171,
    "g": 35,
    "b": 70
  },
  "hsl": {
    "h": 344.559,
    "s": 66.019,
    "l": 40.392
  },
  "oklch": {
    "l": 0.49067,
    "c": 0.171,
    "h": 12.1
  },
  "luminance": 0.10302
}

Semantic roles & 50–950 ramp

primary
#AB2346
secondary
#64C6AD
accent
#E9BD3F
background
#FDF6F7
surface
#FAECED
border
#D3C7C8
text
#150809
muted
#837A7B

Preview Lab

Preview with #AB2346

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

Preview Lab → · Contrast checker → · Palette generator →

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