#B23E8E#B23E8E

#B23E8E is a mid, vivid pink. Relative luminance 0.149; OKLCH L 55.3% C 0.174 H 342.1°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#B23E8E
RGBrgb(178, 62, 142)
HSLhsl(319, 48%, 47%)
HSVhsv(319, 65%, 70%)
CMYKcmyk(0%, 65.2%, 20.2%, 30.2%)
CIE-LABlab(45.45, 55.34, -19.92)
CIE-LCHlch(45.45, 58.82, 340.20°)
OKLaboklab(55.26% 0.1655 -0.0533)
OKLCHoklch(55.26% 0.174 342.1)
XYZxyz(24.9659, 14.8656, 27.1404)
Luminance0.1486 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23E8E #3EB262
analogous
#9C3EB2 #B23E8E #B23E54
triadic
#B23E8E #8EB23E #3E8EB2
tetradic
#B23E8E #B29C3E #3EB262 #3E54B2
square
#B23E8E #B29C3E #3EB262 #3E54B2
split-complementary
#B23E8E #54B23E #3EB29C
monochromatic
#571E46 #852E6A #B23E8E #C964AA #D992C3

Accessibility & contrast

On white

5.29
#B23E8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#B23E8E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23E8E
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23E8E#FFFFFF#000000##FFFFFF
##B23E8E1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475F90
Deuteranopia (green-blind)
#6A738B
Tritanopia (blue-blind)
#BD3F60
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b23e8e;
/* rgb */ color: rgb(178, 62, 142);
/* oklch */ color: oklch(55.3% 0.174 342.1);
Tailwind
colors: {
  custom: {
    50: '#cc7baf',
    500: '#b23e8e',
    950: '#000000',
  },
}
SCSS
$custom: #b23e8e;
$custom-light: #cc7baf;
$custom-dark: #000000;
JSON
{
  "hex": "#b23e8e",
  "rgb": {
    "r": 178,
    "g": 62,
    "b": 142
  },
  "hsl": {
    "h": 318.621,
    "s": 48.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.55259,
    "c": 0.17385,
    "h": 342.1
  },
  "luminance": 0.14863
}

Semantic roles & 50–950 ramp

primary
#B23E8E
secondary
#88C49A
accent
#D87A50
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#140A10
muted
#837C7F

Preview Lab

Preview with #B23E8E

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

Preview Lab → · Contrast checker → · Palette generator →

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