#AB275A#AB275A

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

Color values

HEX#AB275A
RGBrgb(171, 39, 90)
HSLhsl(337, 63%, 41%)
HSVhsv(337, 77%, 67%)
CMYKcmyk(0%, 77.2%, 47.4%, 32.9%)
CIE-LABlab(39.33, 55.75, 2.97)
CIE-LCHlch(39.33, 55.83, 3.05°)
OKLaboklab(49.93% 0.1709 0.0082)
OKLCHoklch(49.93% 0.171 2.7)
XYZxyz(19.3672, 10.8498, 10.7453)
Luminance0.1085 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB275A #27AB78
analogous
#AB279C #AB275A #AB3627
triadic
#AB275A #5AAB27 #275AAB
tetradic
#AB275A #9CAB27 #27AB78 #3627AB
square
#AB275A #9CAB27 #27AB78 #3627AB
split-complementary
#AB275A #27AB36 #279CAB
monochromatic
#471026 #791C40 #AB275A #D33D77 #DE6E9A

Accessibility & contrast

On white

6.63
#AB275A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#AB275A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB275A
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB275A#FFFFFF#000000##FFFFFF
##AB275A1.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474C5B
Deuteranopia (green-blind)
#6A6657
Tritanopia (blue-blind)
#BA073D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #ab275a;
/* rgb */ color: rgb(171, 39, 90);
/* oklch */ color: oklch(49.9% 0.171 2.7);
Tailwind
colors: {
  custom: {
    50: '#ca6e88',
    500: '#ab275a',
    950: '#000000',
  },
}
SCSS
$custom: #ab275a;
$custom-light: #ca6e88;
$custom-dark: #000000;
JSON
{
  "hex": "#ab275a",
  "rgb": {
    "r": 171,
    "g": 39,
    "b": 90
  },
  "hsl": {
    "h": 336.818,
    "s": 62.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.49928,
    "c": 0.17111,
    "h": 2.7
  },
  "luminance": 0.10847
}

Semantic roles & 50–950 ramp

primary
#AB275A
secondary
#69C5A1
accent
#E6A742
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#14080B
muted
#837B7C

Preview Lab

Preview with #AB275A

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

Preview Lab → · Contrast checker → · Palette generator →

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