#B23196#B23196

#B23196 is a mid, vivid pink. Relative luminance 0.139; OKLCH L 54.3% C 0.196 H 338.1°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#B23196
RGBrgb(178, 49, 150)
HSLhsl(313, 57%, 45%)
HSVhsv(313, 72%, 70%)
CMYKcmyk(0%, 72.5%, 15.7%, 30.2%)
CIE-LABlab(44.04, 61.41, -26.93)
CIE-LCHlch(44.04, 67.06, 336.32°)
OKLaboklab(54.35% 0.1817 -0.073)
OKLCHoklch(54.35% 0.196 338.1)
XYZxyz(24.9640, 13.8659, 30.2099)
Luminance0.1386 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23196 #31B24D
analogous
#8D31B2 #B23196 #B23156
triadic
#B23196 #96B231 #3196B2
tetradic
#B23196 #B28D31 #31B24D #3156B2
square
#B23196 #B28D31 #31B24D #3156B2
split-complementary
#B23196 #56B231 #31B28D
monochromatic
#521745 #82246E #B23196 #CF51B4 #DC81C9

Accessibility & contrast

On white

5.57
#B23196 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#B23196 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23196
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23196#FFFFFF#000000##FFFFFF
##B231961.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375B99
Deuteranopia (green-blind)
#616F93
Tritanopia (blue-blind)
#BC3760
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b23196;
/* rgb */ color: rgb(178, 49, 150);
/* oklch */ color: oklch(54.3% 0.196 338.1);
Tailwind
colors: {
  custom: {
    50: '#cd75b5',
    500: '#b23196',
    950: '#000000',
  },
}
SCSS
$custom: #b23196;
$custom-light: #cd75b5;
$custom-dark: #000000;
JSON
{
  "hex": "#b23196",
  "rgb": {
    "r": 178,
    "g": 49,
    "b": 150
  },
  "hsl": {
    "h": 313.023,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.54347,
    "c": 0.19579,
    "h": 338.1
  },
  "luminance": 0.13864
}

Semantic roles & 50–950 ramp

primary
#B23196
secondary
#79C58A
accent
#E06948
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B23196

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

Preview Lab → · Contrast checker → · Palette generator →

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