#B23D7F#B23D7F

#B23D7F is a mid, vivid pink. Relative luminance 0.143; OKLCH L 54.5% C 0.166 H 349.2°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#B23D7F
RGBrgb(178, 61, 127)
HSLhsl(326, 49%, 47%)
HSVhsv(326, 66%, 70%)
CMYKcmyk(0%, 65.7%, 28.7%, 30.2%)
CIE-LABlab(44.71, 53.72, -11.94)
CIE-LCHlch(44.71, 55.03, 347.47°)
OKLaboklab(54.53% 0.1632 -0.0312)
OKLCHoklch(54.53% 0.166 349.2)
XYZxyz(23.8607, 14.3373, 21.5853)
Luminance0.1434 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23D7F #3DB270
analogous
#AB3DB2 #B23D7F #B23D45
triadic
#B23D7F #7FB23D #3D7FB2
tetradic
#B23D7F #B2AB3D #3DB270 #3D45B2
square
#B23D7F #B2AB3D #3DB270 #3D45B2
split-complementary
#B23D7F #45B23D #3DB2AB
monochromatic
#571E3E #842D5E #B23D7F #C9639D #D990B9

Accessibility & contrast

On white

5.43
#B23D7F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#B23D7F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23D7F
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23D7F#FFFFFF#000000##FFFFFF
##B23D7F1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5D81
Deuteranopia (green-blind)
#6E717C
Tritanopia (blue-blind)
#BE3859
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b23d7f;
/* rgb */ color: rgb(178, 61, 127);
/* oklch */ color: oklch(54.5% 0.166 349.2);
Tailwind
colors: {
  custom: {
    50: '#cd7aa4',
    500: '#b23d7f',
    950: '#000000',
  },
}
SCSS
$custom: #b23d7f;
$custom-light: #cd7aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#b23d7f",
  "rgb": {
    "r": 178,
    "g": 61,
    "b": 127
  },
  "hsl": {
    "h": 326.154,
    "s": 48.954,
    "l": 46.863
  },
  "oklch": {
    "l": 0.54526,
    "c": 0.16615,
    "h": 349.2
  },
  "luminance": 0.14335
}

Semantic roles & 50–950 ramp

primary
#B23D7F
secondary
#87C4A1
accent
#D98B4F
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#140A0F
muted
#837C7F

Preview Lab

Preview with #B23D7F

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

Preview Lab → · Contrast checker → · Palette generator →

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