#B23795#B23795

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

Color values

HEX#B23795
RGBrgb(178, 55, 149)
HSLhsl(314, 53%, 46%)
HSVhsv(314, 69%, 70%)
CMYKcmyk(0%, 69.1%, 16.3%, 30.2%)
CIE-LABlab(44.76, 59.12, -25.21)
CIE-LCHlch(44.76, 64.27, 336.91°)
OKLaboklab(54.85% 0.1751 -0.0682)
OKLCHoklch(54.85% 0.188 338.7)
XYZxyz(25.1516, 14.3696, 29.8769)
Luminance0.1437 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23795 #37B254
analogous
#9137B2 #B23795 #B23758
triadic
#B23795 #95B237 #3795B2
tetradic
#B23795 #B29137 #37B254 #3758B2
square
#B23795 #B29137 #37B254 #3758B2
split-complementary
#B23795 #58B237 #37B291
monochromatic
#541A47 #83296E #B23795 #CC5AB1 #DB89C7

Accessibility & contrast

On white

5.42
#B23795 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#B23795 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23795
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23795#FFFFFF#000000##FFFFFF
##B237951.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5E98
Deuteranopia (green-blind)
#647192
Tritanopia (blue-blind)
#BC3C61
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b23795;
/* rgb */ color: rgb(178, 55, 149);
/* oklch */ color: oklch(54.9% 0.188 338.7);
Tailwind
colors: {
  custom: {
    50: '#cd78b4',
    500: '#b23795',
    950: '#000000',
  },
}
SCSS
$custom: #b23795;
$custom-light: #cd78b4;
$custom-dark: #000000;
JSON
{
  "hex": "#b23795",
  "rgb": {
    "r": 178,
    "g": 55,
    "b": 149
  },
  "hsl": {
    "h": 314.146,
    "s": 52.79,
    "l": 45.686
  },
  "oklch": {
    "l": 0.54853,
    "c": 0.18787,
    "h": 338.7
  },
  "luminance": 0.14367
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B23795

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

Preview Lab → · Contrast checker → · Palette generator →

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