#B23972#B23972

#B23972 is a mid, vivid pink. Relative luminance 0.136; OKLCH L 53.6% C 0.165 H 355.2°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#B23972
RGBrgb(178, 57, 114)
HSLhsl(332, 51%, 46%)
HSVhsv(332, 68%, 70%)
CMYKcmyk(0%, 68%, 36%, 30.2%)
CIE-LABlab(43.67, 53.77, -5.53)
CIE-LCHlch(43.67, 54.05, 354.13°)
OKLaboklab(53.61% 0.1645 -0.0139)
OKLCHoklch(53.61% 0.165 355.2)
XYZxyz(22.8618, 13.6088, 17.3391)
Luminance0.1361 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23972 #39B279
analogous
#B239AE #B23972 #B23D39
triadic
#B23972 #72B239 #3972B2
tetradic
#B23972 #AEB239 #39B279 #3D39B2
square
#B23972 #AEB239 #39B279 #3D39B2
split-complementary
#B23972 #39B23D #39AEB2
monochromatic
#551B37 #842A54 #B23972 #CB5D91 #DA8BB0

Accessibility & contrast

On white

5.64
#B23972 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#B23972 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23972
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23972#FFFFFF#000000##FFFFFF
##B239721.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b23972;
/* rgb */ color: rgb(178, 57, 114);
/* oklch */ color: oklch(53.6% 0.165 355.2);
Tailwind
colors: {
  custom: {
    50: '#cd789a',
    500: '#b23972',
    950: '#000000',
  },
}
SCSS
$custom: #b23972;
$custom-light: #cd789a;
$custom-dark: #000000;
JSON
{
  "hex": "#b23972",
  "rgb": {
    "r": 178,
    "g": 57,
    "b": 114
  },
  "hsl": {
    "h": 331.736,
    "s": 51.489,
    "l": 46.078
  },
  "oklch": {
    "l": 0.53605,
    "c": 0.16511,
    "h": 355.2
  },
  "luminance": 0.13606
}

Semantic roles & 50–950 ramp

primary
#B23972
secondary
#82C4A5
accent
#DB984D
background
#FDF7F9
surface
#FAEEF2
border
#D3C9CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #B23972

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

Preview Lab → · Contrast checker → · Palette generator →

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