#B23E98#B23E98

#B23E98 is a mid, vivid pink. Relative luminance 0.152; OKLCH L 55.7% C 0.181 H 337.8°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#B23E98
RGBrgb(178, 62, 152)
HSLhsl(313, 48%, 47%)
HSVhsv(313, 65%, 70%)
CMYKcmyk(0%, 65.2%, 14.6%, 30.2%)
CIE-LABlab(45.88, 56.81, -25.27)
CIE-LCHlch(45.88, 62.18, 336.02°)
OKLaboklab(55.71% 0.1673 -0.0684)
OKLCHoklch(55.71% 0.181 337.8)
XYZxyz(25.7507, 15.1795, 31.2734)
Luminance0.1518 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23E98 #3EB258
analogous
#923EB2 #B23E98 #B23E5E
triadic
#B23E98 #98B23E #3E98B2
tetradic
#B23E98 #B2923E #3EB258 #3E5EB2
square
#B23E98 #B2923E #3EB258 #3E5EB2
split-complementary
#B23E98 #5EB23E #3EB292
monochromatic
#571E4A #852E71 #B23E98 #C964B2 #D992C9

Accessibility & contrast

On white

5.20
#B23E98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#B23E98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23E98
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23E98#FFFFFF#000000##FFFFFF
##B23E981.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42619B
Deuteranopia (green-blind)
#667395
Tritanopia (blue-blind)
#BB4365
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b23e98;
/* rgb */ color: rgb(178, 62, 152);
/* oklch */ color: oklch(55.7% 0.181 337.8);
Tailwind
colors: {
  custom: {
    50: '#cc7bb6',
    500: '#b23e98',
    950: '#000000',
  },
}
SCSS
$custom: #b23e98;
$custom-light: #cc7bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#b23e98",
  "rgb": {
    "r": 178,
    "g": 62,
    "b": 152
  },
  "hsl": {
    "h": 313.448,
    "s": 48.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.55714,
    "c": 0.18076,
    "h": 337.8
  },
  "luminance": 0.15177
}

Semantic roles & 50–950 ramp

primary
#B23E98
secondary
#88C495
accent
#D86E50
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140A11
muted
#827C80

Preview Lab

Preview with #B23E98

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

Preview Lab → · Contrast checker → · Palette generator →

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