#B23872#B23872

#B23872 is a mid, vivid pink. Relative luminance 0.135; OKLCH L 53.5% C 0.166 H 355.0°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#B23872
RGBrgb(178, 56, 114)
HSLhsl(331, 52%, 46%)
HSVhsv(331, 69%, 70%)
CMYKcmyk(0%, 68.5%, 36%, 30.2%)
CIE-LABlab(43.52, 54.17, -5.75)
CIE-LCHlch(43.52, 54.47, 353.94°)
OKLaboklab(53.5% 0.1658 -0.0145)
OKLCHoklch(53.5% 0.166 355)
XYZxyz(22.8129, 13.5109, 17.3228)
Luminance0.1351 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23872 #38B278
analogous
#B238AF #B23872 #B23B38
triadic
#B23872 #72B238 #3872B2
tetradic
#B23872 #AFB238 #38B278 #3B38B2
square
#B23872 #AFB238 #38B278 #3B38B2
split-complementary
#B23872 #38B23B #38AFB2
monochromatic
#551B36 #832954 #B23872 #CC5C91 #DA8AB0

Accessibility & contrast

On white

5.67
#B23872 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#B23872 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23872
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23872#FFFFFF#000000##FFFFFF
##B238721.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5974
Deuteranopia (green-blind)
#6F6F6F
Tritanopia (blue-blind)
#C02D50
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b23872;
/* rgb */ color: rgb(178, 56, 114);
/* oklch */ color: oklch(53.5% 0.166 355.0);
Tailwind
colors: {
  custom: {
    50: '#cd779a',
    500: '#b23872',
    950: '#000000',
  },
}
SCSS
$custom: #b23872;
$custom-light: #cd779a;
$custom-dark: #000000;
JSON
{
  "hex": "#b23872",
  "rgb": {
    "r": 178,
    "g": 56,
    "b": 114
  },
  "hsl": {
    "h": 331.475,
    "s": 52.137,
    "l": 45.882
  },
  "oklch": {
    "l": 0.53499,
    "c": 0.1664,
    "h": 355
  },
  "luminance": 0.13508
}

Semantic roles & 50–950 ramp

primary
#B23872
secondary
#81C5A5
accent
#DC974C
background
#FDF7F9
surface
#FAEEF2
border
#D3C9CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #B23872

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

Preview Lab → · Contrast checker → · Palette generator →

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