#B23C7A#B23C7A

#B23C7A is a mid, vivid pink. Relative luminance 0.141; OKLCH L 54.2% C 0.165 H 351.5°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#B23C7A
RGBrgb(178, 60, 122)
HSLhsl(328, 50%, 47%)
HSVhsv(328, 66%, 70%)
CMYKcmyk(0%, 66.3%, 31.5%, 30.2%)
CIE-LABlab(44.38, 53.51, -9.38)
CIE-LCHlch(44.38, 54.32, 350.06°)
OKLaboklab(54.22% 0.1631 -0.0243)
OKLCHoklch(54.22% 0.165 351.5)
XYZxyz(23.4900, 14.1044, 19.8939)
Luminance0.1410 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23C7A #3CB274
analogous
#AF3CB2 #B23C7A #B23C3F
triadic
#B23C7A #7AB23C #3C7AB2
tetradic
#B23C7A #B2AF3C #3CB274 #3C3FB2
square
#B23C7A #B2AF3C #3CB274 #3C3FB2
split-complementary
#B23C7A #3FB23C #3CB2AF
monochromatic
#561D3B #842D5B #B23C7A #CA6198 #D98FB6

Accessibility & contrast

On white

5.50
#B23C7A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#B23C7A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23C7A
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23C7A#FFFFFF#000000##FFFFFF
##B23C7A1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5B7C
Deuteranopia (green-blind)
#6F7177
Tritanopia (blue-blind)
#BF3556
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b23c7a;
/* rgb */ color: rgb(178, 60, 122);
/* oklch */ color: oklch(54.2% 0.165 351.5);
Tailwind
colors: {
  custom: {
    50: '#cd7aa0',
    500: '#b23c7a',
    950: '#000000',
  },
}
SCSS
$custom: #b23c7a;
$custom-light: #cd7aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#b23c7a",
  "rgb": {
    "r": 178,
    "g": 60,
    "b": 122
  },
  "hsl": {
    "h": 328.475,
    "s": 49.58,
    "l": 46.667
  },
  "oklch": {
    "l": 0.54223,
    "c": 0.16488,
    "h": 351.5
  },
  "luminance": 0.14102
}

Semantic roles & 50–950 ramp

primary
#B23C7A
secondary
#86C4A3
accent
#D9904F
background
#FDF7F9
surface
#FAEEF2
border
#D3C9CC
text
#140A0E
muted
#837C7E

Preview Lab

Preview with #B23C7A

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

Preview Lab → · Contrast checker → · Palette generator →

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