#B2487F#B2487F

#B2487F is a mid, vivid pink. Relative luminance 0.156; OKLCH L 55.8% C 0.150 H 350.8°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#B2487F
RGBrgb(178, 72, 127)
HSLhsl(329, 42%, 49%)
HSVhsv(329, 60%, 70%)
CMYKcmyk(0%, 59.6%, 28.7%, 30.2%)
CIE-LABlab(46.49, 48.89, -9.26)
CIE-LCHlch(46.49, 49.76, 349.27°)
OKLaboklab(55.84% 0.1483 -0.024)
OKLCHoklch(55.84% 0.15 350.8)
XYZxyz(24.5093, 15.6344, 21.8015)
Luminance0.1563 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2487F #48B27B
analogous
#B048B2 #B2487F #B2484A
triadic
#B2487F #7FB248 #487FB2
tetradic
#B2487F #B2B048 #48B27B #484AB2
square
#B2487F #B2B048 #48B27B #484AB2
split-complementary
#B2487F #4AB248 #48B2B0
monochromatic
#5B2541 #863660 #B2487F #C6719D #D79DBB

Accessibility & contrast

On white

5.09
#B2487F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#B2487F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B2487F
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2487F#FFFFFF#000000##FFFFFF
##B2487F1.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#566281
Deuteranopia (green-blind)
#73757C
Tritanopia (blue-blind)
#BE435E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b2487f;
/* rgb */ color: rgb(178, 72, 127);
/* oklch */ color: oklch(55.8% 0.150 350.8);
Tailwind
colors: {
  custom: {
    50: '#cc80a4',
    500: '#b2487f',
    950: '#000000',
  },
}
SCSS
$custom: #b2487f;
$custom-light: #cc80a4;
$custom-dark: #000000;
JSON
{
  "hex": "#b2487f",
  "rgb": {
    "r": 178,
    "g": 72,
    "b": 127
  },
  "hsl": {
    "h": 328.868,
    "s": 42.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.5584,
    "c": 0.15019,
    "h": 350.8
  },
  "luminance": 0.15632
}

Semantic roles & 50–950 ramp

primary
#B2487F
secondary
#92C4AA
accent
#D29256
background
#FCF8FA
surface
#F9EFF4
border
#D2CACE
text
#140B0F
muted
#827C7F

Preview Lab

Preview with #B2487F

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

Preview Lab → · Contrast checker → · Palette generator →

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