#AB274D#AB274D

#AB274D is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.6% C 0.168 H 9.3°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#AB274D
RGBrgb(171, 39, 77)
HSLhsl(343, 63%, 41%)
HSVhsv(343, 77%, 67%)
CMYKcmyk(0%, 77.2%, 55%, 32.9%)
CIE-LABlab(38.98, 54.66, 10.74)
CIE-LCHlch(38.98, 55.70, 11.12°)
OKLaboklab(49.56% 0.1661 0.0273)
OKLCHoklch(49.56% 0.168 9.3)
XYZxyz(18.8614, 10.6475, 8.0817)
Luminance0.1065 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB274D #27AB85
analogous
#AB278F #AB274D #AB4327
triadic
#AB274D #4DAB27 #274DAB
tetradic
#AB274D #8FAB27 #27AB85 #4327AB
square
#AB274D #8FAB27 #27AB85 #4327AB
split-complementary
#AB274D #27AB43 #278FAB
monochromatic
#471020 #791C37 #AB274D #D33D68 #DE6E8F

Accessibility & contrast

On white

6.71
#AB274D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#AB274D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB274D
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB274D#FFFFFF#000000##FFFFFF
##AB274D1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4B4E
Deuteranopia (green-blind)
#6C654A
Tritanopia (blue-blind)
#BB0037
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #ab274d;
/* rgb */ color: rgb(171, 39, 77);
/* oklch */ color: oklch(49.6% 0.168 9.3);
Tailwind
colors: {
  custom: {
    50: '#ca6e7e',
    500: '#ab274d',
    950: '#000000',
  },
}
SCSS
$custom: #ab274d;
$custom-light: #ca6e7e;
$custom-dark: #000000;
JSON
{
  "hex": "#ab274d",
  "rgb": {
    "r": 171,
    "g": 39,
    "b": 77
  },
  "hsl": {
    "h": 342.727,
    "s": 62.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.4956,
    "c": 0.16828,
    "h": 9.3
  },
  "luminance": 0.10645
}

Semantic roles & 50–950 ramp

primary
#AB274D
secondary
#69C5AA
accent
#E6B742
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#140809
muted
#837B7B

Preview Lab

Preview with #AB274D

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

Preview Lab → · Contrast checker → · Palette generator →

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