#B23F78#B23F78

#B23F78 is a mid, vivid pink. Relative luminance 0.144; OKLCH L 54.5% C 0.160 H 353.0°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#B23F78
RGBrgb(178, 63, 120)
HSLhsl(330, 48%, 47%)
HSVhsv(330, 65%, 70%)
CMYKcmyk(0%, 64.6%, 32.6%, 30.2%)
CIE-LABlab(44.77, 52.00, -7.57)
CIE-LCHlch(44.77, 52.55, 351.71°)
OKLaboklab(54.49% 0.1586 -0.0194)
OKLCHoklch(54.49% 0.16 353)
XYZxyz(23.5290, 14.3786, 19.3019)
Luminance0.1438 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23F78 #3FB279
analogous
#B23FB2 #B23F78 #B2403F
triadic
#B23F78 #78B23F #3F78B2
tetradic
#B23F78 #B2B23F #3FB279 #403FB2
square
#B23F78 #B2B23F #3FB279 #403FB2
split-complementary
#B23F78 #3FB240 #3FB2B2
monochromatic
#581F3B #852F5A #B23F78 #C96697 #D993B5

Accessibility & contrast

On white

5.42
#B23F78 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#B23F78 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23F78
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23F78#FFFFFF#000000##FFFFFF
##B23F781.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515D7A
Deuteranopia (green-blind)
#707275
Tritanopia (blue-blind)
#BF3856
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b23f78;
/* rgb */ color: rgb(178, 63, 120);
/* oklch */ color: oklch(54.5% 0.160 353.0);
Tailwind
colors: {
  custom: {
    50: '#cd7b9f',
    500: '#b23f78',
    950: '#000000',
  },
}
SCSS
$custom: #b23f78;
$custom-light: #cd7b9f;
$custom-dark: #000000;
JSON
{
  "hex": "#b23f78",
  "rgb": {
    "r": 178,
    "g": 63,
    "b": 120
  },
  "hsl": {
    "h": 330.261,
    "s": 47.718,
    "l": 47.255
  },
  "oklch": {
    "l": 0.54487,
    "c": 0.15977,
    "h": 353
  },
  "luminance": 0.14376
}

Semantic roles & 50–950 ramp

primary
#B23F78
secondary
#89C4A7
accent
#D79450
background
#FDF7F9
surface
#FAEEF2
border
#D3C9CC
text
#140A0E
muted
#837C7E

Preview Lab

Preview with #B23F78

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

Preview Lab → · Contrast checker → · Palette generator →

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