#B23278#B23278

#B23278 is a mid, vivid pink. Relative luminance 0.131; OKLCH L 53.1% C 0.177 H 351.3°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#B23278
RGBrgb(178, 50, 120)
HSLhsl(327, 56%, 45%)
HSVhsv(327, 72%, 70%)
CMYKcmyk(0%, 71.9%, 32.6%, 30.2%)
CIE-LABlab(42.92, 57.12, -10.35)
CIE-LCHlch(42.92, 58.05, 349.73°)
OKLaboklab(53.13% 0.1746 -0.0268)
OKLCHoklch(53.13% 0.177 351.3)
XYZxyz(22.8921, 13.1049, 19.0896)
Luminance0.1310 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23278 #32B26C
analogous
#AC32B2 #B23278 #B23238
triadic
#B23278 #78B232 #3278B2
tetradic
#B23278 #B2AC32 #32B26C #3238B2
square
#B23278 #B2AC32 #32B26C #3238B2
split-complementary
#B23278 #38B232 #32B2AC
monochromatic
#521738 #822558 #B23278 #CF5396 #DC82B3

Accessibility & contrast

On white

5.80
#B23278 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#B23278 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23278
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23278#FFFFFF#000000##FFFFFF
##B232781.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47577A
Deuteranopia (green-blind)
#6B6E75
Tritanopia (blue-blind)
#BF2950
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b23278;
/* rgb */ color: rgb(178, 50, 120);
/* oklch */ color: oklch(53.1% 0.177 351.3);
Tailwind
colors: {
  custom: {
    50: '#cd759f',
    500: '#b23278',
    950: '#000000',
  },
}
SCSS
$custom: #b23278;
$custom-light: #cd759f;
$custom-dark: #000000;
JSON
{
  "hex": "#b23278",
  "rgb": {
    "r": 178,
    "g": 50,
    "b": 120
  },
  "hsl": {
    "h": 327.188,
    "s": 56.14,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53125,
    "c": 0.17665,
    "h": 351.3
  },
  "luminance": 0.13102
}

Semantic roles & 50–950 ramp

primary
#B23278
secondary
#7BC59C
accent
#DF8D48
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #B23278

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

Preview Lab → · Contrast checker → · Palette generator →

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