#B23787#B23787

#B23787 is a mid, vivid pink. Relative luminance 0.139; OKLCH L 54.2% C 0.179 H 344.8°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#B23787
RGBrgb(178, 55, 135)
HSLhsl(321, 53%, 46%)
HSVhsv(321, 69%, 70%)
CMYKcmyk(0%, 69.1%, 24.2%, 30.2%)
CIE-LABlab(44.16, 57.16, -17.66)
CIE-LCHlch(44.16, 59.83, 342.83°)
OKLaboklab(54.22% 0.1725 -0.047)
OKLCHoklch(54.22% 0.179 344.8)
XYZxyz(24.1004, 13.9491, 24.3402)
Luminance0.1395 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23787 #37B262
analogous
#A037B2 #B23787 #B23749
triadic
#B23787 #87B237 #3787B2
tetradic
#B23787 #B2A037 #37B262 #3749B2
square
#B23787 #B2A037 #37B262 #3749B2
split-complementary
#B23787 #49B237 #37B2A0
monochromatic
#541A40 #832964 #B23787 #CC5AA4 #DB89BE

Accessibility & contrast

On white

5.54
#B23787 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#B23787 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23787
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23787#FFFFFF#000000##FFFFFF
##B237871.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445B89
Deuteranopia (green-blind)
#697084
Tritanopia (blue-blind)
#BE365A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b23787;
/* rgb */ color: rgb(178, 55, 135);
/* oklch */ color: oklch(54.2% 0.179 344.8);
Tailwind
colors: {
  custom: {
    50: '#cd77aa',
    500: '#b23787',
    950: '#000000',
  },
}
SCSS
$custom: #b23787;
$custom-light: #cd77aa;
$custom-dark: #000000;
JSON
{
  "hex": "#b23787",
  "rgb": {
    "r": 178,
    "g": 55,
    "b": 135
  },
  "hsl": {
    "h": 320.976,
    "s": 52.79,
    "l": 45.686
  },
  "oklch": {
    "l": 0.54221,
    "c": 0.17877,
    "h": 344.8
  },
  "luminance": 0.13947
}

Semantic roles & 50–950 ramp

primary
#B23787
secondary
#80C598
accent
#DC7E4C
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B23787

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

Preview Lab → · Contrast checker → · Palette generator →

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