#B23799#B23799

#B23799 is a mid, vivid pink. Relative luminance 0.145; OKLCH L 55.0% C 0.191 H 337.1°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#B23799
RGBrgb(178, 55, 153)
HSLhsl(312, 53%, 46%)
HSVhsv(312, 69%, 70%)
CMYKcmyk(0%, 69.1%, 14%, 30.2%)
CIE-LABlab(44.94, 59.71, -27.33)
CIE-LCHlch(44.94, 65.66, 335.41°)
OKLaboklab(55.05% 0.1756 -0.0742)
OKLCHoklch(55.05% 0.191 337.1)
XYZxyz(25.4765, 14.4995, 31.5877)
Luminance0.1450 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23799 #37B250
analogous
#8D37B2 #B23799 #B2375B
triadic
#B23799 #99B237 #3799B2
tetradic
#B23799 #B28D37 #37B250 #375BB2
square
#B23799 #B28D37 #37B250 #375BB2
split-complementary
#B23799 #5BB237 #37B28D
monochromatic
#541A49 #832971 #B23799 #CC5AB5 #DB89CA

Accessibility & contrast

On white

5.39
#B23799 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#B23799 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23799
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23799#FFFFFF#000000##FFFFFF
##B237991.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5E9C
Deuteranopia (green-blind)
#637196
Tritanopia (blue-blind)
#BB3E63
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b23799;
/* rgb */ color: rgb(178, 55, 153);
/* oklch */ color: oklch(55.0% 0.191 337.1);
Tailwind
colors: {
  custom: {
    50: '#cc78b7',
    500: '#b23799',
    950: '#000000',
  },
}
SCSS
$custom: #b23799;
$custom-light: #cc78b7;
$custom-dark: #000000;
JSON
{
  "hex": "#b23799",
  "rgb": {
    "r": 178,
    "g": 55,
    "b": 153
  },
  "hsl": {
    "h": 312.195,
    "s": 52.79,
    "l": 45.686
  },
  "oklch": {
    "l": 0.55046,
    "c": 0.19067,
    "h": 337.1
  },
  "luminance": 0.14497
}

Semantic roles & 50–950 ramp

primary
#B23799
secondary
#80C58E
accent
#DC694C
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140A11
muted
#837C80

Preview Lab

Preview with #B23799

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

Preview Lab → · Contrast checker → · Palette generator →

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