#B23478#B23478

#B23478 is a mid, vivid pink. Relative luminance 0.133; OKLCH L 53.3% C 0.174 H 351.5°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#B23478
RGBrgb(178, 52, 120)
HSLhsl(328, 55%, 45%)
HSVhsv(328, 71%, 70%)
CMYKcmyk(0%, 70.8%, 32.6%, 30.2%)
CIE-LABlab(43.18, 56.39, -9.96)
CIE-LCHlch(43.18, 57.26, 349.99°)
OKLaboklab(53.32% 0.1723 -0.0258)
OKLCHoklch(53.32% 0.174 351.5)
XYZxyz(22.9795, 13.2796, 19.1187)
Luminance0.1328 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23478 #34B26E
analogous
#AD34B2 #B23478 #B23439
triadic
#B23478 #78B234 #3478B2
tetradic
#B23478 #B2AD34 #34B26E #3439B2
square
#B23478 #B2AD34 #34B26E #3439B2
split-complementary
#B23478 #39B234 #34B2AD
monochromatic
#531838 #832658 #B23478 #CE5696 #DB85B4

Accessibility & contrast

On white

5.74
#B23478 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#B23478 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23478
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23478#FFFFFF#000000##FFFFFF
##B234781.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48587A
Deuteranopia (green-blind)
#6C6E75
Tritanopia (blue-blind)
#BF2C51
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b23478;
/* rgb */ color: rgb(178, 52, 120);
/* oklch */ color: oklch(53.3% 0.174 351.5);
Tailwind
colors: {
  custom: {
    50: '#cd769f',
    500: '#b23478',
    950: '#000000',
  },
}
SCSS
$custom: #b23478;
$custom-light: #cd769f;
$custom-dark: #000000;
JSON
{
  "hex": "#b23478",
  "rgb": {
    "r": 178,
    "g": 52,
    "b": 120
  },
  "hsl": {
    "h": 327.619,
    "s": 54.783,
    "l": 45.098
  },
  "oklch": {
    "l": 0.53317,
    "c": 0.17423,
    "h": 351.5
  },
  "luminance": 0.13277
}

Semantic roles & 50–950 ramp

primary
#B23478
secondary
#7DC59E
accent
#DE8E4A
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #B23478

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

Preview Lab → · Contrast checker → · Palette generator →

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