#B23172#B23172

#B23172 is a mid, vivid pink. Relative luminance 0.129; OKLCH L 52.8% C 0.175 H 354.0°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#B23172
RGBrgb(178, 49, 114)
HSLhsl(330, 57%, 45%)
HSVhsv(330, 72%, 70%)
CMYKcmyk(0%, 72.5%, 36%, 30.2%)
CIE-LABlab(42.58, 56.79, -7.15)
CIE-LCHlch(42.58, 57.24, 352.82°)
OKLaboklab(52.81% 0.174 -0.0182)
OKLCHoklch(52.81% 0.175 354)
XYZxyz(22.4971, 12.8792, 17.2175)
Luminance0.1288 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23172 #31B271
analogous
#B131B2 #B23172 #B23132
triadic
#B23172 #72B231 #3172B2
tetradic
#B23172 #B2B131 #31B271 #3132B2
square
#B23172 #B2B131 #31B271 #3132B2
split-complementary
#B23172 #32B231 #31B2B1
monochromatic
#521735 #822453 #B23172 #CF5191 #DC81AF

Accessibility & contrast

On white

5.87
#B23172 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#B23172 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23172
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23172#FFFFFF#000000##FFFFFF
##B231721.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485574
Deuteranopia (green-blind)
#6D6D6F
Tritanopia (blue-blind)
#C0254D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b23172;
/* rgb */ color: rgb(178, 49, 114);
/* oklch */ color: oklch(52.8% 0.175 354.0);
Tailwind
colors: {
  custom: {
    50: '#ce749a',
    500: '#b23172',
    950: '#000000',
  },
}
SCSS
$custom: #b23172;
$custom-light: #ce749a;
$custom-dark: #000000;
JSON
{
  "hex": "#b23172",
  "rgb": {
    "r": 178,
    "g": 49,
    "b": 114
  },
  "hsl": {
    "h": 329.767,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52806,
    "c": 0.17499,
    "h": 354
  },
  "luminance": 0.12877
}

Semantic roles & 50–950 ramp

primary
#B23172
secondary
#79C59F
accent
#E09348
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #B23172

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

Preview Lab → · Contrast checker → · Palette generator →

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