#B23487#B23487

#B23487 is a mid, vivid pink. Relative luminance 0.137; OKLCH L 53.9% C 0.183 H 344.5°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#B23487
RGBrgb(178, 52, 135)
HSLhsl(320, 55%, 45%)
HSVhsv(320, 71%, 70%)
CMYKcmyk(0%, 70.8%, 24.2%, 30.2%)
CIE-LABlab(43.76, 58.28, -18.27)
CIE-LCHlch(43.76, 61.07, 342.59°)
OKLaboklab(53.93% 0.1759 -0.0486)
OKLCHoklch(53.93% 0.183 344.5)
XYZxyz(23.9622, 13.6727, 24.2941)
Luminance0.1367 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23487 #34B25F
analogous
#9E34B2 #B23487 #B23448
triadic
#B23487 #87B234 #3487B2
tetradic
#B23487 #B29E34 #34B25F #3448B2
square
#B23487 #B29E34 #34B25F #3448B2
split-complementary
#B23487 #48B234 #34B29E
monochromatic
#53183F #832663 #B23487 #CE56A5 #DB85BE

Accessibility & contrast

On white

5.62
#B23487 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#B23487 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23487
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23487#FFFFFF#000000##FFFFFF
##B234871.005.623.735.62
#FFFFFF5.621.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425A89
Deuteranopia (green-blind)
#686F84
Tritanopia (blue-blind)
#BE3359
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b23487;
/* rgb */ color: rgb(178, 52, 135);
/* oklch */ color: oklch(53.9% 0.183 344.5);
Tailwind
colors: {
  custom: {
    50: '#cd76aa',
    500: '#b23487',
    950: '#000000',
  },
}
SCSS
$custom: #b23487;
$custom-light: #cd76aa;
$custom-dark: #000000;
JSON
{
  "hex": "#b23487",
  "rgb": {
    "r": 178,
    "g": 52,
    "b": 135
  },
  "hsl": {
    "h": 320.476,
    "s": 54.783,
    "l": 45.098
  },
  "oklch": {
    "l": 0.53929,
    "c": 0.18252,
    "h": 344.5
  },
  "luminance": 0.1367
}

Semantic roles & 50–950 ramp

primary
#B23487
secondary
#7DC595
accent
#DE7C4A
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B23487

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

Preview Lab → · Contrast checker → · Palette generator →

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