#B23F87#B23F87

#B23F87 is a mid, vivid pink. Relative luminance 0.148; OKLCH L 55.1% C 0.168 H 345.5°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#B23F87
RGBrgb(178, 63, 135)
HSLhsl(322, 48%, 47%)
HSVhsv(322, 65%, 70%)
CMYKcmyk(0%, 64.6%, 24.2%, 30.2%)
CIE-LABlab(45.32, 53.95, -15.88)
CIE-LCHlch(45.32, 56.24, 343.59°)
OKLaboklab(55.07% 0.1626 -0.0421)
OKLCHoklch(55.07% 0.168 345.5)
XYZxyz(24.5117, 14.7717, 24.4773)
Luminance0.1477 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23F87 #3FB26A
analogous
#A43FB2 #B23F87 #B23F4D
triadic
#B23F87 #87B23F #3F87B2
tetradic
#B23F87 #B2A43F #3FB26A #3F4DB2
square
#B23F87 #B2A43F #3FB26A #3F4DB2
split-complementary
#B23F87 #4DB23F #3FB2A4
monochromatic
#581F42 #852F65 #B23F87 #C966A4 #D993BF

Accessibility & contrast

On white

5.31
#B23F87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#B23F87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23F87
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23F87#FFFFFF#000000##FFFFFF
##B23F871.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5F89
Deuteranopia (green-blind)
#6C7284
Tritanopia (blue-blind)
#BD3D5D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b23f87;
/* rgb */ color: rgb(178, 63, 135);
/* oklch */ color: oklch(55.1% 0.168 345.5);
Tailwind
colors: {
  custom: {
    50: '#cc7caa',
    500: '#b23f87',
    950: '#000000',
  },
}
SCSS
$custom: #b23f87;
$custom-light: #cc7caa;
$custom-dark: #000000;
JSON
{
  "hex": "#b23f87",
  "rgb": {
    "r": 178,
    "g": 63,
    "b": 135
  },
  "hsl": {
    "h": 322.435,
    "s": 47.718,
    "l": 47.255
  },
  "oklch": {
    "l": 0.55072,
    "c": 0.168,
    "h": 345.5
  },
  "luminance": 0.14769
}

Semantic roles & 50–950 ramp

primary
#B23F87
secondary
#89C49F
accent
#D78350
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#140A10
muted
#837C7F

Preview Lab

Preview with #B23F87

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

Preview Lab → · Contrast checker → · Palette generator →

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