#B23299#B23299

#B23299 is a mid, vivid pink. Relative luminance 0.140; OKLCH L 54.6% C 0.197 H 336.9°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#B23299
RGBrgb(178, 50, 153)
HSLhsl(312, 56%, 45%)
HSVhsv(312, 72%, 70%)
CMYKcmyk(0%, 71.9%, 14%, 30.2%)
CIE-LABlab(44.30, 61.50, -28.32)
CIE-LCHlch(44.30, 67.71, 335.27°)
OKLaboklab(54.58% 0.181 -0.077)
OKLCHoklch(54.58% 0.197 336.9)
XYZxyz(25.2509, 14.0484, 31.5126)
Luminance0.1405 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23299 #32B24B
analogous
#8B32B2 #B23299 #B23259
triadic
#B23299 #99B232 #3299B2
tetradic
#B23299 #B28B32 #32B24B #3259B2
square
#B23299 #B28B32 #32B24B #3259B2
split-complementary
#B23299 #59B232 #32B28B
monochromatic
#521747 #822570 #B23299 #CF53B6 #DC82CA

Accessibility & contrast

On white

5.51
#B23299 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#B23299 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23299
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23299#FFFFFF#000000##FFFFFF
##B232991.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b23299;
/* rgb */ color: rgb(178, 50, 153);
/* oklch */ color: oklch(54.6% 0.197 336.9);
Tailwind
colors: {
  custom: {
    50: '#cd76b7',
    500: '#b23299',
    950: '#000000',
  },
}
SCSS
$custom: #b23299;
$custom-light: #cd76b7;
$custom-dark: #000000;
JSON
{
  "hex": "#b23299",
  "rgb": {
    "r": 178,
    "g": 50,
    "b": 153
  },
  "hsl": {
    "h": 311.719,
    "s": 56.14,
    "l": 44.706
  },
  "oklch": {
    "l": 0.54583,
    "c": 0.1967,
    "h": 336.9
  },
  "luminance": 0.14046
}

Semantic roles & 50–950 ramp

primary
#B23299
secondary
#7BC589
accent
#DF6648
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B23299

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

Preview Lab → · Contrast checker → · Palette generator →

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