#B23D7D#B23D7D

#B23D7D is a mid, vivid pink. Relative luminance 0.143; OKLCH L 54.4% C 0.165 H 350.2°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#B23D7D
RGBrgb(178, 61, 125)
HSLhsl(327, 49%, 47%)
HSVhsv(327, 66%, 70%)
CMYKcmyk(0%, 65.7%, 29.8%, 30.2%)
CIE-LABlab(44.64, 53.47, -10.83)
CIE-LCHlch(44.64, 54.55, 348.55°)
OKLaboklab(54.45% 0.1627 -0.0282)
OKLCHoklch(54.45% 0.165 350.2)
XYZxyz(23.7316, 14.2856, 20.9057)
Luminance0.1428 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23D7D #3DB272
analogous
#AD3DB2 #B23D7D #B23D43
triadic
#B23D7D #7DB23D #3D7DB2
tetradic
#B23D7D #B2AD3D #3DB272 #3D43B2
square
#B23D7D #B2AD3D #3DB272 #3D43B2
split-complementary
#B23D7D #43B23D #3DB2AD
monochromatic
#571E3D #842D5D #B23D7D #C9639B #D990B8

Accessibility & contrast

On white

5.45
#B23D7D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#B23D7D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23D7D
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23D7D#FFFFFF#000000##FFFFFF
##B23D7D1.005.453.865.45
#FFFFFF5.451.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5C7F
Deuteranopia (green-blind)
#6E717A
Tritanopia (blue-blind)
#BF3758
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b23d7d;
/* rgb */ color: rgb(178, 61, 125);
/* oklch */ color: oklch(54.4% 0.165 350.2);
Tailwind
colors: {
  custom: {
    50: '#cd7aa2',
    500: '#b23d7d',
    950: '#000000',
  },
}
SCSS
$custom: #b23d7d;
$custom-light: #cd7aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#b23d7d",
  "rgb": {
    "r": 178,
    "g": 61,
    "b": 125
  },
  "hsl": {
    "h": 327.179,
    "s": 48.954,
    "l": 46.863
  },
  "oklch": {
    "l": 0.54448,
    "c": 0.16508,
    "h": 350.2
  },
  "luminance": 0.14283
}

Semantic roles & 50–950 ramp

primary
#B23D7D
secondary
#87C4A3
accent
#D98D4F
background
#FDF7FA
surface
#FAEEF3
border
#D3C9CD
text
#140A0F
muted
#837C7F

Preview Lab

Preview with #B23D7D

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

Preview Lab → · Contrast checker → · Palette generator →

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