#B23098#B23098

#B23098 is a mid, vivid pink. Relative luminance 0.138; OKLCH L 54.4% C 0.198 H 337.3°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#B23098
RGBrgb(178, 48, 152)
HSLhsl(312, 58%, 44%)
HSVhsv(312, 73%, 70%)
CMYKcmyk(0%, 73%, 14.6%, 30.2%)
CIE-LABlab(44.01, 62.04, -28.17)
CIE-LCHlch(44.01, 68.14, 335.58°)
OKLaboklab(54.36% 0.1829 -0.0766)
OKLCHoklch(54.36% 0.198 337.3)
XYZxyz(25.0850, 13.8482, 31.0515)
Luminance0.1385 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23098 #30B24A
analogous
#8B30B2 #B23098 #B23057
triadic
#B23098 #98B230 #3098B2
tetradic
#B23098 #B28B30 #30B24A #3057B2
square
#B23098 #B28B30 #30B24A #3057B2
split-complementary
#B23098 #57B230 #30B28B
monochromatic
#521646 #82236F #B23098 #D050B6 #DD80CA

Accessibility & contrast

On white

5.57
#B23098 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#B23098 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23098
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23098#FFFFFF#000000##FFFFFF
##B230981.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345B9B
Deuteranopia (green-blind)
#606F95
Tritanopia (blue-blind)
#BC3860
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b23098;
/* rgb */ color: rgb(178, 48, 152);
/* oklch */ color: oklch(54.4% 0.198 337.3);
Tailwind
colors: {
  custom: {
    50: '#cd75b6',
    500: '#b23098',
    950: '#000000',
  },
}
SCSS
$custom: #b23098;
$custom-light: #cd75b6;
$custom-dark: #000000;
JSON
{
  "hex": "#b23098",
  "rgb": {
    "r": 178,
    "g": 48,
    "b": 152
  },
  "hsl": {
    "h": 312,
    "s": 57.522,
    "l": 44.314
  },
  "oklch": {
    "l": 0.54359,
    "c": 0.19829,
    "h": 337.3
  },
  "luminance": 0.13846
}

Semantic roles & 50–950 ramp

primary
#B23098
secondary
#78C688
accent
#E16647
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B23098

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

Preview Lab → · Contrast checker → · Palette generator →

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