#AB274C#AB274C

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

Color values

HEX#AB274C
RGBrgb(171, 39, 76)
HSLhsl(343, 63%, 41%)
HSVhsv(343, 77%, 67%)
CMYKcmyk(0%, 77.2%, 55.6%, 32.9%)
CIE-LABlab(38.96, 54.58, 11.35)
CIE-LCHlch(38.96, 55.75, 11.74°)
OKLaboklab(49.54% 0.1657 0.0287)
OKLCHoklch(49.54% 0.168 9.8)
XYZxyz(18.8264, 10.6335, 7.8972)
Luminance0.1063 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB274C #27AB86
analogous
#AB278E #AB274C #AB4427
triadic
#AB274C #4CAB27 #274CAB
tetradic
#AB274C #8EAB27 #27AB86 #4427AB
square
#AB274C #8EAB27 #27AB86 #4427AB
split-complementary
#AB274C #27AB44 #278EAB
monochromatic
#471020 #791C36 #AB274C #D33D67 #DE6E8E

Accessibility & contrast

On white

6.72
#AB274C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB274C
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB274C#FFFFFF#000000##FFFFFF
##AB274C1.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ab274c;
/* rgb */ color: rgb(171, 39, 76);
/* oklch */ color: oklch(49.5% 0.168 9.8);
Tailwind
colors: {
  custom: {
    50: '#ca6e7d',
    500: '#ab274c',
    950: '#000000',
  },
}
SCSS
$custom: #ab274c;
$custom-light: #ca6e7d;
$custom-dark: #000000;
JSON
{
  "hex": "#ab274c",
  "rgb": {
    "r": 171,
    "g": 39,
    "b": 76
  },
  "hsl": {
    "h": 343.182,
    "s": 62.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.49535,
    "c": 0.16813,
    "h": 9.8
  },
  "luminance": 0.10631
}

Semantic roles & 50–950 ramp

primary
#AB274C
secondary
#69C5AB
accent
#E6B842
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#140809
muted
#837B7B

Preview Lab

Preview with #AB274C

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

Preview Lab → · Contrast checker → · Palette generator →

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