#B23B8A#B23B8A

#B23B8A is a mid, vivid pink. Relative luminance 0.144; OKLCH L 54.8% C 0.175 H 343.7°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#B23B8A
RGBrgb(178, 59, 138)
HSLhsl(320, 50%, 46%)
HSVhsv(320, 67%, 70%)
CMYKcmyk(0%, 66.9%, 22.5%, 30.2%)
CIE-LABlab(44.84, 56.00, -18.43)
CIE-LCHlch(44.84, 58.96, 341.78°)
OKLaboklab(54.76% 0.1684 -0.0491)
OKLCHoklch(54.76% 0.175 343.7)
XYZxyz(24.5123, 14.4303, 25.5342)
Luminance0.1443 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23B8A #3BB263
analogous
#9F3BB2 #B23B8A #B23B4F
triadic
#B23B8A #8AB23B #3B8AB2
tetradic
#B23B8A #B29F3B #3BB263 #3B4FB2
square
#B23B8A #B29F3B #3BB263 #3B4FB2
split-complementary
#B23B8A #4FB23B #3BB29F
monochromatic
#561D43 #842C66 #B23B8A #CA60A7 #DA8EC0

Accessibility & contrast

On white

5.40
#B23B8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#B23B8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23B8A
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23B8A#FFFFFF#000000##FFFFFF
##B23B8A1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465D8C
Deuteranopia (green-blind)
#6A7187
Tritanopia (blue-blind)
#BD3B5D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b23b8a;
/* rgb */ color: rgb(178, 59, 138);
/* oklch */ color: oklch(54.8% 0.175 343.7);
Tailwind
colors: {
  custom: {
    50: '#cd7aac',
    500: '#b23b8a',
    950: '#000000',
  },
}
SCSS
$custom: #b23b8a;
$custom-light: #cd7aac;
$custom-dark: #000000;
JSON
{
  "hex": "#b23b8a",
  "rgb": {
    "r": 178,
    "g": 59,
    "b": 138
  },
  "hsl": {
    "h": 320.168,
    "s": 50.211,
    "l": 46.471
  },
  "oklch": {
    "l": 0.54762,
    "c": 0.17538,
    "h": 343.7
  },
  "luminance": 0.14428
}

Semantic roles & 50–950 ramp

primary
#B23B8A
secondary
#85C49A
accent
#DA7D4E
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#140A10
muted
#837C7F

Preview Lab

Preview with #B23B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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