#B23598#B23598

#B23598 is a mid, vivid pink. Relative luminance 0.143; OKLCH L 54.8% C 0.192 H 337.4°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#B23598
RGBrgb(178, 53, 152)
HSLhsl(312, 54%, 45%)
HSVhsv(312, 70%, 70%)
CMYKcmyk(0%, 70.2%, 14.6%, 30.2%)
CIE-LABlab(44.63, 60.29, -27.21)
CIE-LCHlch(44.63, 66.15, 335.71°)
OKLaboklab(54.81% 0.1777 -0.0739)
OKLCHoklch(54.81% 0.192 337.4)
XYZxyz(25.3012, 14.2805, 31.1236)
Luminance0.1428 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23598 #35B24F
analogous
#8D35B2 #B23598 #B23559
triadic
#B23598 #98B235 #3598B2
tetradic
#B23598 #B28D35 #35B24F #3559B2
square
#B23598 #B28D35 #35B24F #3559B2
split-complementary
#B23598 #59B235 #35B28D
monochromatic
#541947 #832770 #B23598 #CD57B5 #DB86C9

Accessibility & contrast

On white

5.45
#B23598 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#B23598 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23598
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23598#FFFFFF#000000##FFFFFF
##B235981.005.453.865.45
#FFFFFF5.451.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395D9B
Deuteranopia (green-blind)
#627095
Tritanopia (blue-blind)
#BC3C62
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b23598;
/* rgb */ color: rgb(178, 53, 152);
/* oklch */ color: oklch(54.8% 0.192 337.4);
Tailwind
colors: {
  custom: {
    50: '#cd77b6',
    500: '#b23598',
    950: '#000000',
  },
}
SCSS
$custom: #b23598;
$custom-light: #cd77b6;
$custom-dark: #000000;
JSON
{
  "hex": "#b23598",
  "rgb": {
    "r": 178,
    "g": 53,
    "b": 152
  },
  "hsl": {
    "h": 312.48,
    "s": 54.113,
    "l": 45.294
  },
  "oklch": {
    "l": 0.54807,
    "c": 0.19243,
    "h": 337.4
  },
  "luminance": 0.14278
}

Semantic roles & 50–950 ramp

primary
#B23598
secondary
#7EC58D
accent
#DD694A
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B23598

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

Preview Lab → · Contrast checker → · Palette generator →

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