#B23989#B23989

#B23989 is a mid, vivid pink. Relative luminance 0.142; OKLCH L 54.5% C 0.177 H 344.0°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#B23989
RGBrgb(178, 57, 137)
HSLhsl(320, 51%, 46%)
HSVhsv(320, 68%, 70%)
CMYKcmyk(0%, 68%, 23%, 30.2%)
CIE-LABlab(44.52, 56.66, -18.32)
CIE-LCHlch(44.52, 59.55, 342.08°)
OKLaboklab(54.51% 0.1706 -0.0488)
OKLCHoklch(54.51% 0.177 344)
XYZxyz(24.3394, 14.1998, 25.1211)
Luminance0.1420 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23989 #39B262
analogous
#9E39B2 #B23989 #B2394C
triadic
#B23989 #89B239 #3989B2
tetradic
#B23989 #B29E39 #39B262 #394CB2
square
#B23989 #B29E39 #39B262 #394CB2
split-complementary
#B23989 #4CB239 #39B29E
monochromatic
#551B42 #842A65 #B23989 #CB5DA6 #DA8BBF

Accessibility & contrast

On white

5.47
#B23989 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#B23989 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23989
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23989#FFFFFF#000000##FFFFFF
##B239891.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455C8B
Deuteranopia (green-blind)
#697186
Tritanopia (blue-blind)
#BD385C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b23989;
/* rgb */ color: rgb(178, 57, 137);
/* oklch */ color: oklch(54.5% 0.177 344.0);
Tailwind
colors: {
  custom: {
    50: '#cd79ab',
    500: '#b23989',
    950: '#000000',
  },
}
SCSS
$custom: #b23989;
$custom-light: #cd79ab;
$custom-dark: #000000;
JSON
{
  "hex": "#b23989",
  "rgb": {
    "r": 178,
    "g": 57,
    "b": 137
  },
  "hsl": {
    "h": 320.331,
    "s": 51.489,
    "l": 46.078
  },
  "oklch": {
    "l": 0.5451,
    "c": 0.17741,
    "h": 344
  },
  "luminance": 0.14197
}

Semantic roles & 50–950 ramp

primary
#B23989
secondary
#82C499
accent
#DB7D4D
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#140A10
muted
#837C7F

Preview Lab

Preview with #B23989

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

Preview Lab → · Contrast checker → · Palette generator →

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