#B23272#B23272

#B23272 is a mid, vivid pink. Relative luminance 0.130; OKLCH L 52.9% C 0.174 H 354.2°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#B23272
RGBrgb(178, 50, 114)
HSLhsl(330, 56%, 45%)
HSVhsv(330, 72%, 70%)
CMYKcmyk(0%, 71.9%, 36%, 30.2%)
CIE-LABlab(42.71, 56.43, -6.96)
CIE-LCHlch(42.71, 56.86, 352.97°)
OKLaboklab(52.9% 0.1729 -0.0177)
OKLCHoklch(52.9% 0.174 354.2)
XYZxyz(22.5393, 12.9638, 17.2316)
Luminance0.1296 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23272 #32B272
analogous
#B232B2 #B23272 #B23232
triadic
#B23272 #72B232 #3272B2
tetradic
#B23272 #B2B232 #32B272 #3232B2
square
#B23272 #B2B232 #32B272 #3232B2
split-complementary
#B23272 #32B232 #32B2B2
monochromatic
#521735 #822553 #B23272 #CF5391 #DC82AF

Accessibility & contrast

On white

5.85
#B23272 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#B23272 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23272
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23272#FFFFFF#000000##FFFFFF
##B232721.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495674
Deuteranopia (green-blind)
#6D6D6F
Tritanopia (blue-blind)
#C0264E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b23272;
/* rgb */ color: rgb(178, 50, 114);
/* oklch */ color: oklch(52.9% 0.174 354.2);
Tailwind
colors: {
  custom: {
    50: '#ce759a',
    500: '#b23272',
    950: '#000000',
  },
}
SCSS
$custom: #b23272;
$custom-light: #ce759a;
$custom-dark: #000000;
JSON
{
  "hex": "#b23272",
  "rgb": {
    "r": 178,
    "g": 50,
    "b": 114
  },
  "hsl": {
    "h": 330,
    "s": 56.14,
    "l": 44.706
  },
  "oklch": {
    "l": 0.529,
    "c": 0.17381,
    "h": 354.2
  },
  "luminance": 0.12961
}

Semantic roles & 50–950 ramp

primary
#B23272
secondary
#7BC5A0
accent
#DF9448
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #B23272

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

Preview Lab → · Contrast checker → · Palette generator →

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