#AB3862#AB3862

#AB3862 is a mid, vivid pink. Relative luminance 0.124; OKLCH L 51.8% C 0.154 H 1.7°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#AB3862
RGBrgb(171, 56, 98)
HSLhsl(338, 51%, 45%)
HSVhsv(338, 67%, 67%)
CMYKcmyk(0%, 67.3%, 42.7%, 32.9%)
CIE-LABlab(41.80, 50.30, 1.51)
CIE-LCHlch(41.80, 50.33, 1.72°)
OKLaboklab(51.83% 0.1539 0.0045)
OKLCHoklch(51.83% 0.154 1.7)
XYZxyz(20.4148, 12.3706, 12.8656)
Luminance0.1237 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3862 #38AB81
analogous
#AB389C #AB3862 #AB4838
triadic
#AB3862 #62AB38 #3862AB
tetradic
#AB3862 #9CAB38 #38AB81 #4838AB
square
#AB3862 #9CAB38 #38AB81 #4838AB
split-complementary
#AB3862 #38AB48 #389CAB
monochromatic
#4F1A2D #7D2948 #AB3862 #C85881 #D786A4

Accessibility & contrast

On white

6.05
#AB3862 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#AB3862 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3862
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3862#FFFFFF#000000##FFFFFF
##AB38621.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5563
Deuteranopia (green-blind)
#6E6B5F
Tritanopia (blue-blind)
#B92A49
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ab3862;
/* rgb */ color: rgb(171, 56, 98);
/* oklch */ color: oklch(51.8% 0.154 1.7);
Tailwind
colors: {
  custom: {
    50: '#c9768e',
    500: '#ab3862',
    950: '#000000',
  },
}
SCSS
$custom: #ab3862;
$custom-light: #c9768e;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3862",
  "rgb": {
    "r": 171,
    "g": 56,
    "b": 98
  },
  "hsl": {
    "h": 338.087,
    "s": 50.661,
    "l": 44.51
  },
  "oklch": {
    "l": 0.5183,
    "c": 0.15394,
    "h": 1.7
  },
  "luminance": 0.12368
}

Semantic roles & 50–950 ramp

primary
#AB3862
secondary
#7DC1A9
accent
#DAA74E
background
#FCF7F8
surface
#F9EDF0
border
#D2C8CB
text
#14090C
muted
#827B7D

Preview Lab

Preview with #AB3862

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

Preview Lab → · Contrast checker → · Palette generator →

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