#B23188#B23188

#B23188 is a mid, vivid pink. Relative luminance 0.134; OKLCH L 53.7% C 0.187 H 343.9°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#B23188
RGBrgb(178, 49, 136)
HSLhsl(320, 57%, 45%)
HSVhsv(320, 72%, 70%)
CMYKcmyk(0%, 72.5%, 23.6%, 30.2%)
CIE-LABlab(43.42, 59.48, -19.40)
CIE-LCHlch(43.42, 62.56, 341.94°)
OKLaboklab(53.7% 0.1794 -0.0518)
OKLCHoklch(53.7% 0.187 343.9)
XYZxyz(23.9032, 13.4417, 24.6234)
Luminance0.1344 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23188 #31B25B
analogous
#9C31B2 #B23188 #B23148
triadic
#B23188 #88B231 #3188B2
tetradic
#B23188 #B29C31 #31B25B #3148B2
square
#B23188 #B29C31 #31B25B #3148B2
split-complementary
#B23188 #48B231 #31B29C
monochromatic
#52173F #822463 #B23188 #CF51A6 #DC81BF

Accessibility & contrast

On white

5.69
#B23188 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#B23188 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23188
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23188#FFFFFF#000000##FFFFFF
##B231881.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F598A
Deuteranopia (green-blind)
#666E85
Tritanopia (blue-blind)
#BE3058
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b23188;
/* rgb */ color: rgb(178, 49, 136);
/* oklch */ color: oklch(53.7% 0.187 343.9);
Tailwind
colors: {
  custom: {
    50: '#cd75ab',
    500: '#b23188',
    950: '#000000',
  },
}
SCSS
$custom: #b23188;
$custom-light: #cd75ab;
$custom-dark: #000000;
JSON
{
  "hex": "#b23188",
  "rgb": {
    "r": 178,
    "g": 49,
    "b": 136
  },
  "hsl": {
    "h": 319.535,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.53696,
    "c": 0.18673,
    "h": 343.9
  },
  "luminance": 0.13439
}

Semantic roles & 50–950 ramp

primary
#B23188
secondary
#79C592
accent
#E07948
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B23188

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

Preview Lab → · Contrast checker → · Palette generator →

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