#B23796#B23796

#B23796 is a mid, vivid pink. Relative luminance 0.144; OKLCH L 54.9% C 0.189 H 338.3°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#B23796
RGBrgb(178, 55, 150)
HSLhsl(314, 53%, 46%)
HSVhsv(314, 69%, 70%)
CMYKcmyk(0%, 69.1%, 15.7%, 30.2%)
CIE-LABlab(44.80, 59.26, -25.74)
CIE-LCHlch(44.80, 64.61, 336.52°)
OKLaboklab(54.9% 0.1752 -0.0697)
OKLCHoklch(54.9% 0.189 338.3)
XYZxyz(25.2318, 14.4017, 30.2992)
Luminance0.1440 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23796 #37B253
analogous
#9137B2 #B23796 #B23758
triadic
#B23796 #96B237 #3796B2
tetradic
#B23796 #B29137 #37B253 #3758B2
square
#B23796 #B29137 #37B253 #3758B2
split-complementary
#B23796 #58B237 #37B291
monochromatic
#541A47 #83296F #B23796 #CC5AB2 #DB89C8

Accessibility & contrast

On white

5.41
#B23796 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#B23796 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23796
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23796#FFFFFF#000000##FFFFFF
##B237961.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5E99
Deuteranopia (green-blind)
#647193
Tritanopia (blue-blind)
#BC3C62
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b23796;
/* rgb */ color: rgb(178, 55, 150);
/* oklch */ color: oklch(54.9% 0.189 338.3);
Tailwind
colors: {
  custom: {
    50: '#cd78b5',
    500: '#b23796',
    950: '#000000',
  },
}
SCSS
$custom: #b23796;
$custom-light: #cd78b5;
$custom-dark: #000000;
JSON
{
  "hex": "#b23796",
  "rgb": {
    "r": 178,
    "g": 55,
    "b": 150
  },
  "hsl": {
    "h": 313.659,
    "s": 52.79,
    "l": 45.686
  },
  "oklch": {
    "l": 0.54901,
    "c": 0.18856,
    "h": 338.3
  },
  "luminance": 0.14399
}

Semantic roles & 50–950 ramp

primary
#B23796
secondary
#80C590
accent
#DC6D4C
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140A11
muted
#837C80

Preview Lab

Preview with #B23796

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

Preview Lab → · Contrast checker → · Palette generator →

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