#AB265C#AB265C

#AB265C is a mid, vivid pink. Relative luminance 0.108; OKLCH L 49.9% C 0.173 H 1.6°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#AB265C
RGBrgb(171, 38, 92)
HSLhsl(336, 64%, 41%)
HSVhsv(336, 78%, 67%)
CMYKcmyk(0%, 77.8%, 46.2%, 32.9%)
CIE-LABlab(39.27, 56.24, 1.62)
CIE-LCHlch(39.27, 56.27, 1.65°)
OKLaboklab(49.91% 0.1726 0.0048)
OKLCHoklch(49.91% 0.173 1.6)
XYZxyz(19.4210, 10.8195, 11.1888)
Luminance0.1082 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB265C #26AB75
analogous
#AB269E #AB265C #AB3226
triadic
#AB265C #5CAB26 #265CAB
tetradic
#AB265C #9EAB26 #26AB75 #3226AB
square
#AB265C #9EAB26 #26AB75 #3226AB
split-complementary
#AB265C #26AB32 #269EAB
monochromatic
#471026 #791B41 #AB265C #D33B79 #DF6D9B

Accessibility & contrast

On white

6.64
#AB265C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#AB265C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB265C
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB265C#FFFFFF#000000##FFFFFF
##AB265C1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464C5D
Deuteranopia (green-blind)
#696659
Tritanopia (blue-blind)
#BA063E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #ab265c;
/* rgb */ color: rgb(171, 38, 92);
/* oklch */ color: oklch(49.9% 0.173 1.6);
Tailwind
colors: {
  custom: {
    50: '#ca6e8a',
    500: '#ab265c',
    950: '#000000',
  },
}
SCSS
$custom: #ab265c;
$custom-light: #ca6e8a;
$custom-dark: #000000;
JSON
{
  "hex": "#ab265c",
  "rgb": {
    "r": 171,
    "g": 38,
    "b": 92
  },
  "hsl": {
    "h": 335.639,
    "s": 63.636,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49909,
    "c": 0.17268,
    "h": 1.6
  },
  "luminance": 0.10817
}

Semantic roles & 50–950 ramp

primary
#AB265C
secondary
#68C59F
accent
#E7A341
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080B
muted
#837B7C

Preview Lab

Preview with #AB265C

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

Preview Lab → · Contrast checker → · Palette generator →

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