#AB234E#AB234E

#AB234E is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.3% C 0.172 H 8.1°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#AB234E
RGBrgb(171, 35, 78)
HSLhsl(341, 66%, 40%)
HSVhsv(341, 80%, 67%)
CMYKcmyk(0%, 79.5%, 54.4%, 32.9%)
CIE-LABlab(38.57, 55.95, 9.54)
CIE-LCHlch(38.57, 56.76, 9.67°)
OKLaboklab(49.27% 0.1704 0.0244)
OKLCHoklch(49.27% 0.172 8.1)
XYZxyz(18.7725, 10.4127, 8.2276)
Luminance0.1041 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB234E #23AB80
analogous
#AB2392 #AB234E #AB3C23
triadic
#AB234E #4EAB23 #234EAB
tetradic
#AB234E #92AB23 #23AB80 #3C23AB
square
#AB234E #92AB23 #23AB80 #3C23AB
split-complementary
#AB234E #23AB3C #2392AB
monochromatic
#450E20 #781937 #AB234E #D63568 #E0688E

Accessibility & contrast

On white

6.81
#AB234E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#AB234E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB234E
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB234E#FFFFFF#000000##FFFFFF
##AB234E1.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48494F
Deuteranopia (green-blind)
#6B654B
Tritanopia (blue-blind)
#BB0036
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #ab234e;
/* rgb */ color: rgb(171, 35, 78);
/* oklch */ color: oklch(49.3% 0.172 8.1);
Tailwind
colors: {
  custom: {
    50: '#ca6c7f',
    500: '#ab234e',
    950: '#000000',
  },
}
SCSS
$custom: #ab234e;
$custom-light: #ca6c7f;
$custom-dark: #000000;
JSON
{
  "hex": "#ab234e",
  "rgb": {
    "r": 171,
    "g": 35,
    "b": 78
  },
  "hsl": {
    "h": 341.029,
    "s": 66.019,
    "l": 40.392
  },
  "oklch": {
    "l": 0.49268,
    "c": 0.17211,
    "h": 8.1
  },
  "luminance": 0.1041
}

Semantic roles & 50–950 ramp

primary
#AB234E
secondary
#64C6A7
accent
#E9B33F
background
#FDF6F7
surface
#FAECEE
border
#D3C7C9
text
#14080A
muted
#837A7C

Preview Lab

Preview with #AB234E

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

Preview Lab → · Contrast checker → · Palette generator →

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