#B23A7E#B23A7E

#B23A7E is a mid, vivid pink. Relative luminance 0.140; OKLCH L 54.2% C 0.170 H 349.3°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#B23A7E
RGBrgb(178, 58, 126)
HSLhsl(326, 51%, 46%)
HSVhsv(326, 67%, 70%)
CMYKcmyk(0%, 67.4%, 29.2%, 30.2%)
CIE-LABlab(44.23, 54.82, -12.05)
CIE-LCHlch(44.23, 56.13, 347.60°)
OKLaboklab(54.16% 0.1667 -0.0315)
OKLCHoklch(54.16% 0.17 349.3)
XYZxyz(23.6402, 14.0000, 21.1919)
Luminance0.1400 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23A7E #3AB26E
analogous
#AA3AB2 #B23A7E #B23A42
triadic
#B23A7E #7EB23A #3A7EB2
tetradic
#B23A7E #B2AA3A #3AB26E #3A42B2
square
#B23A7E #B2AA3A #3AB26E #3A42B2
split-complementary
#B23A7E #42B23A #3AB2AA
monochromatic
#561C3D #842B5D #B23A7E #CB5F9C #DA8DB8

Accessibility & contrast

On white

5.53
#B23A7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#B23A7E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23A7E
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23A7E#FFFFFF#000000##FFFFFF
##B23A7E1.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5B80
Deuteranopia (green-blind)
#6D707B
Tritanopia (blue-blind)
#BF3557
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b23a7e;
/* rgb */ color: rgb(178, 58, 126);
/* oklch */ color: oklch(54.2% 0.170 349.3);
Tailwind
colors: {
  custom: {
    50: '#cd79a3',
    500: '#b23a7e',
    950: '#000000',
  },
}
SCSS
$custom: #b23a7e;
$custom-light: #cd79a3;
$custom-dark: #000000;
JSON
{
  "hex": "#b23a7e",
  "rgb": {
    "r": 178,
    "g": 58,
    "b": 126
  },
  "hsl": {
    "h": 326,
    "s": 50.847,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54161,
    "c": 0.16966,
    "h": 349.3
  },
  "luminance": 0.13997
}

Semantic roles & 50–950 ramp

primary
#B23A7E
secondary
#83C4A0
accent
#DA8B4D
background
#FDF7FA
surface
#FAEEF3
border
#D3C9CD
text
#140A0F
muted
#837C7F

Preview Lab

Preview with #B23A7E

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

Preview Lab → · Contrast checker → · Palette generator →

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