#B23197#B23197

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

Color values

HEX#B23197
RGBrgb(178, 49, 151)
HSLhsl(313, 57%, 45%)
HSVhsv(313, 72%, 70%)
CMYKcmyk(0%, 72.5%, 15.2%, 30.2%)
CIE-LABlab(44.09, 61.56, -27.46)
CIE-LCHlch(44.09, 67.40, 335.96°)
OKLaboklab(54.4% 0.1818 -0.0745)
OKLCHoklch(54.4% 0.196 337.7)
XYZxyz(25.0448, 13.8983, 30.6358)
Luminance0.1390 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23197 #31B24C
analogous
#8D31B2 #B23197 #B23157
triadic
#B23197 #97B231 #3197B2
tetradic
#B23197 #B28D31 #31B24C #3157B2
square
#B23197 #B28D31 #31B24C #3157B2
split-complementary
#B23197 #57B231 #31B28D
monochromatic
#521746 #82246E #B23197 #CF51B5 #DC81C9

Accessibility & contrast

On white

5.56
#B23197 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#B23197 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23197
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23197#FFFFFF#000000##FFFFFF
##B231971.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365C9A
Deuteranopia (green-blind)
#616F94
Tritanopia (blue-blind)
#BC3860
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b23197;
/* rgb */ color: rgb(178, 49, 151);
/* oklch */ color: oklch(54.4% 0.196 337.7);
Tailwind
colors: {
  custom: {
    50: '#cd75b6',
    500: '#b23197',
    950: '#000000',
  },
}
SCSS
$custom: #b23197;
$custom-light: #cd75b6;
$custom-dark: #000000;
JSON
{
  "hex": "#b23197",
  "rgb": {
    "r": 178,
    "g": 49,
    "b": 151
  },
  "hsl": {
    "h": 312.558,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.54396,
    "c": 0.19647,
    "h": 337.7
  },
  "luminance": 0.13896
}

Semantic roles & 50–950 ramp

primary
#B23197
secondary
#79C589
accent
#E06848
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B23197

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

Preview Lab → · Contrast checker → · Palette generator →

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