#B23298#B23298

#B23298 is a mid, vivid pink. Relative luminance 0.140; OKLCH L 54.5% C 0.196 H 337.3°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#B23298
RGBrgb(178, 50, 152)
HSLhsl(312, 56%, 45%)
HSVhsv(312, 72%, 70%)
CMYKcmyk(0%, 71.9%, 14.6%, 30.2%)
CIE-LABlab(44.26, 61.36, -27.80)
CIE-LCHlch(44.26, 67.36, 335.63°)
OKLaboklab(54.53% 0.1809 -0.0755)
OKLCHoklch(54.53% 0.196 337.3)
XYZxyz(25.1687, 14.0155, 31.0794)
Luminance0.1401 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23298 #32B24C
analogous
#8C32B2 #B23298 #B23258
triadic
#B23298 #98B232 #3298B2
tetradic
#B23298 #B28C32 #32B24C #3258B2
square
#B23298 #B28C32 #32B24C #3258B2
split-complementary
#B23298 #58B232 #32B28C
monochromatic
#521746 #82256F #B23298 #CF53B5 #DC82CA

Accessibility & contrast

On white

5.52
#B23298 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#B23298 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23298
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23298#FFFFFF#000000##FFFFFF
##B232981.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365C9B
Deuteranopia (green-blind)
#617095
Tritanopia (blue-blind)
#BC3961
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b23298;
/* rgb */ color: rgb(178, 50, 152);
/* oklch */ color: oklch(54.5% 0.196 337.3);
Tailwind
colors: {
  custom: {
    50: '#cd76b6',
    500: '#b23298',
    950: '#000000',
  },
}
SCSS
$custom: #b23298;
$custom-light: #cd76b6;
$custom-dark: #000000;
JSON
{
  "hex": "#b23298",
  "rgb": {
    "r": 178,
    "g": 50,
    "b": 152
  },
  "hsl": {
    "h": 312.188,
    "s": 56.14,
    "l": 44.706
  },
  "oklch": {
    "l": 0.54533,
    "c": 0.196,
    "h": 337.3
  },
  "luminance": 0.14013
}

Semantic roles & 50–950 ramp

primary
#B23298
secondary
#7BC58A
accent
#DF6748
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B23298

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

Preview Lab → · Contrast checker → · Palette generator →

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