#B23978#B23978

#B23978 is a mid, vivid pink. Relative luminance 0.137; OKLCH L 53.8% C 0.168 H 352.1°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#B23978
RGBrgb(178, 57, 120)
HSLhsl(329, 51%, 46%)
HSVhsv(329, 68%, 70%)
CMYKcmyk(0%, 68%, 32.6%, 30.2%)
CIE-LABlab(43.87, 54.47, -8.92)
CIE-LCHlch(43.87, 55.20, 350.70°)
OKLaboklab(53.82% 0.1663 -0.023)
OKLCHoklch(53.82% 0.168 352.1)
XYZxyz(23.2146, 13.7499, 19.1971)
Luminance0.1375 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23978 #39B273
analogous
#AF39B2 #B23978 #B2393C
triadic
#B23978 #78B239 #3978B2
tetradic
#B23978 #B2AF39 #39B273 #393CB2
square
#B23978 #B2AF39 #39B273 #393CB2
split-complementary
#B23978 #3CB239 #39B2AF
monochromatic
#551B39 #842A59 #B23978 #CB5D96 #DA8BB4

Accessibility & contrast

On white

5.60
#B23978 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#B23978 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23978
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23978#FFFFFF#000000##FFFFFF
##B239781.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5A7A
Deuteranopia (green-blind)
#6E7075
Tritanopia (blue-blind)
#BF3153
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b23978;
/* rgb */ color: rgb(178, 57, 120);
/* oklch */ color: oklch(53.8% 0.168 352.1);
Tailwind
colors: {
  custom: {
    50: '#cd789f',
    500: '#b23978',
    950: '#000000',
  },
}
SCSS
$custom: #b23978;
$custom-light: #cd789f;
$custom-dark: #000000;
JSON
{
  "hex": "#b23978",
  "rgb": {
    "r": 178,
    "g": 57,
    "b": 120
  },
  "hsl": {
    "h": 328.76,
    "s": 51.489,
    "l": 46.078
  },
  "oklch": {
    "l": 0.53824,
    "c": 0.16789,
    "h": 352.1
  },
  "luminance": 0.13747
}

Semantic roles & 50–950 ramp

primary
#B23978
secondary
#82C4A2
accent
#DB914D
background
#FDF7F9
surface
#FAEEF2
border
#D3C9CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #B23978

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

Preview Lab → · Contrast checker → · Palette generator →

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