#B23899#B23899

#B23899 is a mid, vivid pink. Relative luminance 0.146; OKLCH L 55.1% C 0.189 H 337.1°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#B23899
RGBrgb(178, 56, 153)
HSLhsl(312, 52%, 46%)
HSVhsv(312, 69%, 70%)
CMYKcmyk(0%, 68.5%, 14%, 30.2%)
CIE-LABlab(45.08, 59.33, -27.12)
CIE-LCHlch(45.08, 65.23, 335.44°)
OKLaboklab(55.14% 0.1745 -0.0736)
OKLCHoklch(55.14% 0.189 337.1)
XYZxyz(25.5245, 14.5955, 31.6037)
Luminance0.1459 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23899 #38B251
analogous
#8E38B2 #B23899 #B2385C
triadic
#B23899 #99B238 #3899B2
tetradic
#B23899 #B28E38 #38B251 #385CB2
square
#B23899 #B28E38 #38B251 #385CB2
split-complementary
#B23899 #5CB238 #38B28E
monochromatic
#551B49 #832971 #B23899 #CC5CB5 #DA8ACA

Accessibility & contrast

On white

5.36
#B23899 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#B23899 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23899
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23899#FFFFFF#000000##FFFFFF
##B238991.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5F9C
Deuteranopia (green-blind)
#637196
Tritanopia (blue-blind)
#BB3E64
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b23899;
/* rgb */ color: rgb(178, 56, 153);
/* oklch */ color: oklch(55.1% 0.189 337.1);
Tailwind
colors: {
  custom: {
    50: '#cc79b7',
    500: '#b23899',
    950: '#000000',
  },
}
SCSS
$custom: #b23899;
$custom-light: #cc79b7;
$custom-dark: #000000;
JSON
{
  "hex": "#b23899",
  "rgb": {
    "r": 178,
    "g": 56,
    "b": 153
  },
  "hsl": {
    "h": 312.295,
    "s": 52.137,
    "l": 45.882
  },
  "oklch": {
    "l": 0.55143,
    "c": 0.18941,
    "h": 337.1
  },
  "luminance": 0.14593
}

Semantic roles & 50–950 ramp

primary
#B23899
secondary
#81C58F
accent
#DC6A4C
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140A11
muted
#837C80

Preview Lab

Preview with #B23899

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

Preview Lab → · Contrast checker → · Palette generator →

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