#B23199#B23199

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

Color values

HEX#B23199
RGBrgb(178, 49, 153)
HSLhsl(312, 57%, 45%)
HSVhsv(312, 72%, 70%)
CMYKcmyk(0%, 72.5%, 14%, 30.2%)
CIE-LABlab(44.18, 61.85, -28.51)
CIE-LCHlch(44.18, 68.10, 335.25°)
OKLaboklab(54.5% 0.182 -0.0775)
OKLCHoklch(54.5% 0.198 336.9)
XYZxyz(25.2086, 13.9638, 31.4985)
Luminance0.1396 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23199 #31B24A
analogous
#8B31B2 #B23199 #B23159
triadic
#B23199 #99B231 #3199B2
tetradic
#B23199 #B28B31 #31B24A #3159B2
square
#B23199 #B28B31 #31B24A #3159B2
split-complementary
#B23199 #59B231 #31B28B
monochromatic
#521747 #822470 #B23199 #CF51B7 #DC81CB

Accessibility & contrast

On white

5.54
#B23199 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#B23199 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23199
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23199#FFFFFF#000000##FFFFFF
##B231991.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345C9C
Deuteranopia (green-blind)
#606F96
Tritanopia (blue-blind)
#BB3961
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b23199;
/* rgb */ color: rgb(178, 49, 153);
/* oklch */ color: oklch(54.5% 0.198 336.9);
Tailwind
colors: {
  custom: {
    50: '#cd75b7',
    500: '#b23199',
    950: '#000000',
  },
}
SCSS
$custom: #b23199;
$custom-light: #cd75b7;
$custom-dark: #000000;
JSON
{
  "hex": "#b23199",
  "rgb": {
    "r": 178,
    "g": 49,
    "b": 153
  },
  "hsl": {
    "h": 311.628,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.54495,
    "c": 0.19785,
    "h": 336.9
  },
  "luminance": 0.13962
}

Semantic roles & 50–950 ramp

primary
#B23199
secondary
#79C588
accent
#E06548
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B23199

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

Preview Lab → · Contrast checker → · Palette generator →

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