#B23399#B23399

#B23399 is a mid, vivid pink. Relative luminance 0.141; OKLCH L 54.7% C 0.196 H 337.0°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#B23399
RGBrgb(178, 51, 153)
HSLhsl(312, 55%, 45%)
HSVhsv(312, 71%, 70%)
CMYKcmyk(0%, 71.3%, 14%, 30.2%)
CIE-LABlab(44.43, 61.16, -28.13)
CIE-LCHlch(44.43, 67.32, 335.30°)
OKLaboklab(54.67% 0.18 -0.0765)
OKLCHoklch(54.67% 0.196 337)
XYZxyz(25.2941, 14.1348, 31.5270)
Luminance0.1413 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23399 #33B24C
analogous
#8C33B2 #B23399 #B23359
triadic
#B23399 #99B233 #3399B2
tetradic
#B23399 #B28C33 #33B24C #3359B2
square
#B23399 #B28C33 #33B24C #3359B2
split-complementary
#B23399 #59B233 #33B28C
monochromatic
#531847 #822570 #B23399 #CE54B6 #DC84CA

Accessibility & contrast

On white

5.49
#B23399 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#B23399 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23399
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23399#FFFFFF#000000##FFFFFF
##B233991.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365D9C
Deuteranopia (green-blind)
#617096
Tritanopia (blue-blind)
#BB3A62
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b23399;
/* rgb */ color: rgb(178, 51, 153);
/* oklch */ color: oklch(54.7% 0.196 337.0);
Tailwind
colors: {
  custom: {
    50: '#cd76b7',
    500: '#b23399',
    950: '#000000',
  },
}
SCSS
$custom: #b23399;
$custom-light: #cd76b7;
$custom-dark: #000000;
JSON
{
  "hex": "#b23399",
  "rgb": {
    "r": 178,
    "g": 51,
    "b": 153
  },
  "hsl": {
    "h": 311.811,
    "s": 55.459,
    "l": 44.902
  },
  "oklch": {
    "l": 0.54672,
    "c": 0.19553,
    "h": 337
  },
  "luminance": 0.14133
}

Semantic roles & 50–950 ramp

primary
#B23399
secondary
#7CC58A
accent
#DF6749
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B23399

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

Preview Lab → · Contrast checker → · Palette generator →

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