#AB274B#AB274B

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

Color values

HEX#AB274B
RGBrgb(171, 39, 75)
HSLhsl(344, 63%, 41%)
HSVhsv(344, 77%, 67%)
CMYKcmyk(0%, 77.2%, 56.1%, 32.9%)
CIE-LABlab(38.93, 54.50, 11.95)
CIE-LCHlch(38.93, 55.80, 12.37°)
OKLaboklab(49.51% 0.1653 0.0301)
OKLCHoklch(49.51% 0.168 10.3)
XYZxyz(18.7919, 10.6197, 7.7155)
Luminance0.1062 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB274B #27AB87
analogous
#AB278D #AB274B #AB4527
triadic
#AB274B #4BAB27 #274BAB
tetradic
#AB274B #8DAB27 #27AB87 #4527AB
square
#AB274B #8DAB27 #27AB87 #4527AB
split-complementary
#AB274B #27AB45 #278DAB
monochromatic
#47101F #791C35 #AB274B #D33D65 #DE6E8D

Accessibility & contrast

On white

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

On black

3.12
#AB274B on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##AB274B#FFFFFF#000000##FFFFFF
##AB274B1.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4B4C
Deuteranopia (green-blind)
#6C6548
Tritanopia (blue-blind)
#BB0036
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #ab274b;
/* rgb */ color: rgb(171, 39, 75);
/* oklch */ color: oklch(49.5% 0.168 10.3);
Tailwind
colors: {
  custom: {
    50: '#ca6e7d',
    500: '#ab274b',
    950: '#000000',
  },
}
SCSS
$custom: #ab274b;
$custom-light: #ca6e7d;
$custom-dark: #000000;
JSON
{
  "hex": "#ab274b",
  "rgb": {
    "r": 171,
    "g": 39,
    "b": 75
  },
  "hsl": {
    "h": 343.636,
    "s": 62.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.49509,
    "c": 0.16798,
    "h": 10.3
  },
  "luminance": 0.10617
}

Semantic roles & 50–950 ramp

primary
#AB274B
secondary
#69C5AC
accent
#E6B942
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#140809
muted
#837B7B

Preview Lab

Preview with #AB274B

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

Preview Lab → · Contrast checker → · Palette generator →

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