#B23797#B23797

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

Color values

HEX#B23797
RGBrgb(178, 55, 151)
HSLhsl(313, 53%, 46%)
HSVhsv(313, 69%, 70%)
CMYKcmyk(0%, 69.1%, 15.2%, 30.2%)
CIE-LABlab(44.85, 59.41, -26.27)
CIE-LCHlch(44.85, 64.96, 336.15°)
OKLaboklab(54.95% 0.1754 -0.0712)
OKLCHoklch(54.95% 0.189 337.9)
XYZxyz(25.3127, 14.4340, 30.7251)
Luminance0.1443 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23797 #37B252
analogous
#8F37B2 #B23797 #B23759
triadic
#B23797 #97B237 #3797B2
tetradic
#B23797 #B28F37 #37B252 #3759B2
square
#B23797 #B28F37 #37B252 #3759B2
split-complementary
#B23797 #59B237 #37B28F
monochromatic
#541A48 #83296F #B23797 #CC5AB3 #DB89C9

Accessibility & contrast

On white

5.40
#B23797 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#B23797 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23797
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23797#FFFFFF#000000##FFFFFF
##B237971.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5E9A
Deuteranopia (green-blind)
#637194
Tritanopia (blue-blind)
#BC3D62
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b23797;
/* rgb */ color: rgb(178, 55, 151);
/* oklch */ color: oklch(54.9% 0.189 337.9);
Tailwind
colors: {
  custom: {
    50: '#cd78b6',
    500: '#b23797',
    950: '#000000',
  },
}
SCSS
$custom: #b23797;
$custom-light: #cd78b6;
$custom-dark: #000000;
JSON
{
  "hex": "#b23797",
  "rgb": {
    "r": 178,
    "g": 55,
    "b": 151
  },
  "hsl": {
    "h": 313.171,
    "s": 52.79,
    "l": 45.686
  },
  "oklch": {
    "l": 0.54949,
    "c": 0.18926,
    "h": 337.9
  },
  "luminance": 0.14432
}

Semantic roles & 50–950 ramp

primary
#B23797
secondary
#80C58F
accent
#DC6B4C
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140A11
muted
#837C80

Preview Lab

Preview with #B23797

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

Preview Lab → · Contrast checker → · Palette generator →

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