#B23882#B23882

#B23882 is a mid, vivid pink. Relative luminance 0.139; OKLCH L 54.1% C 0.175 H 347.2°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#B23882
RGBrgb(178, 56, 130)
HSLhsl(324, 52%, 46%)
HSVhsv(324, 69%, 70%)
CMYKcmyk(0%, 68.5%, 27%, 30.2%)
CIE-LABlab(44.10, 56.12, -14.70)
CIE-LCHlch(44.10, 58.01, 345.32°)
OKLaboklab(54.11% 0.1702 -0.0388)
OKLCHoklch(54.11% 0.175 347.2)
XYZxyz(23.8046, 13.9075, 22.5456)
Luminance0.1391 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23882 #38B268
analogous
#A538B2 #B23882 #B23845
triadic
#B23882 #82B238 #3882B2
tetradic
#B23882 #B2A538 #38B268 #3845B2
square
#B23882 #B2A538 #38B268 #3845B2
split-complementary
#B23882 #45B238 #38B2A5
monochromatic
#551B3E #832960 #B23882 #CC5CA0 #DA8ABB

Accessibility & contrast

On white

5.55
#B23882 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#B23882 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23882
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23882#FFFFFF#000000##FFFFFF
##B238821.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475B84
Deuteranopia (green-blind)
#6B707F
Tritanopia (blue-blind)
#BE3458
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b23882;
/* rgb */ color: rgb(178, 56, 130);
/* oklch */ color: oklch(54.1% 0.175 347.2);
Tailwind
colors: {
  custom: {
    50: '#cd78a6',
    500: '#b23882',
    950: '#000000',
  },
}
SCSS
$custom: #b23882;
$custom-light: #cd78a6;
$custom-dark: #000000;
JSON
{
  "hex": "#b23882",
  "rgb": {
    "r": 178,
    "g": 56,
    "b": 130
  },
  "hsl": {
    "h": 323.607,
    "s": 52.137,
    "l": 45.882
  },
  "oklch": {
    "l": 0.54113,
    "c": 0.17452,
    "h": 347.2
  },
  "luminance": 0.13905
}

Semantic roles & 50–950 ramp

primary
#B23882
secondary
#81C59C
accent
#DC854C
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#14090F
muted
#837B7F

Preview Lab

Preview with #B23882

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

Preview Lab → · Contrast checker → · Palette generator →

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