#B23778#B23778

#B23778 is a mid, vivid pink. Relative luminance 0.136; OKLCH L 53.6% C 0.170 H 351.9°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#B23778
RGBrgb(178, 55, 120)
HSLhsl(328, 53%, 46%)
HSVhsv(328, 69%, 70%)
CMYKcmyk(0%, 69.1%, 32.6%, 30.2%)
CIE-LABlab(43.59, 55.26, -9.34)
CIE-LCHlch(43.59, 56.04, 350.40°)
OKLaboklab(53.62% 0.1688 -0.0241)
OKLCHoklch(53.62% 0.17 351.9)
XYZxyz(23.1177, 13.5560, 19.1648)
Luminance0.1355 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23778 #37B271
analogous
#AE37B2 #B23778 #B2373A
triadic
#B23778 #78B237 #3778B2
tetradic
#B23778 #B2AE37 #37B271 #373AB2
square
#B23778 #B2AE37 #37B271 #373AB2
split-complementary
#B23778 #3AB237 #37B2AE
monochromatic
#541A39 #832958 #B23778 #CC5A96 #DB89B4

Accessibility & contrast

On white

5.66
#B23778 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#B23778 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23778
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23778#FFFFFF#000000##FFFFFF
##B237781.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B597A
Deuteranopia (green-blind)
#6D6F75
Tritanopia (blue-blind)
#BF2F53
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b23778;
/* rgb */ color: rgb(178, 55, 120);
/* oklch */ color: oklch(53.6% 0.170 351.9);
Tailwind
colors: {
  custom: {
    50: '#cd779f',
    500: '#b23778',
    950: '#000000',
  },
}
SCSS
$custom: #b23778;
$custom-light: #cd779f;
$custom-dark: #000000;
JSON
{
  "hex": "#b23778",
  "rgb": {
    "r": 178,
    "g": 55,
    "b": 120
  },
  "hsl": {
    "h": 328.293,
    "s": 52.79,
    "l": 45.686
  },
  "oklch": {
    "l": 0.53616,
    "c": 0.17048,
    "h": 351.9
  },
  "luminance": 0.13553
}

Semantic roles & 50–950 ramp

primary
#B23778
secondary
#80C5A0
accent
#DC904C
background
#FDF7F9
surface
#FAEEF2
border
#D3C9CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #B23778

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

Preview Lab → · Contrast checker → · Palette generator →

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