#B23F8B#B23F8B

#B23F8B is a mid, vivid pink. Relative luminance 0.149; OKLCH L 55.2% C 0.171 H 343.6°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#B23F8B
RGBrgb(178, 63, 139)
HSLhsl(320, 48%, 47%)
HSVhsv(320, 65%, 70%)
CMYKcmyk(0%, 64.6%, 21.9%, 30.2%)
CIE-LABlab(45.48, 54.50, -18.06)
CIE-LCHlch(45.48, 57.42, 341.66°)
OKLaboklab(55.24% 0.1636 -0.0482)
OKLCHoklch(55.24% 0.171 343.6)
XYZxyz(24.7986, 14.8864, 25.9884)
Luminance0.1488 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23F8B #3FB266
analogous
#A03FB2 #B23F8B #B23F51
triadic
#B23F8B #8BB23F #3F8BB2
tetradic
#B23F8B #B2A03F #3FB266 #3F51B2
square
#B23F8B #B2A03F #3FB266 #3F51B2
split-complementary
#B23F8B #51B23F #3FB2A0
monochromatic
#581F44 #852F68 #B23F8B #C966A7 #D993C1

Accessibility & contrast

On white

5.28
#B23F8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#B23F8B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23F8B
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23F8B#FFFFFF#000000##FFFFFF
##B23F8B1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495F8D
Deuteranopia (green-blind)
#6B7388
Tritanopia (blue-blind)
#BD3F5F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b23f8b;
/* rgb */ color: rgb(178, 63, 139);
/* oklch */ color: oklch(55.2% 0.171 343.6);
Tailwind
colors: {
  custom: {
    50: '#cc7cad',
    500: '#b23f8b',
    950: '#000000',
  },
}
SCSS
$custom: #b23f8b;
$custom-light: #cc7cad;
$custom-dark: #000000;
JSON
{
  "hex": "#b23f8b",
  "rgb": {
    "r": 178,
    "g": 63,
    "b": 139
  },
  "hsl": {
    "h": 320.348,
    "s": 47.718,
    "l": 47.255
  },
  "oklch": {
    "l": 0.5524,
    "c": 0.1705,
    "h": 343.6
  },
  "luminance": 0.14884
}

Semantic roles & 50–950 ramp

primary
#B23F8B
secondary
#89C49D
accent
#D77E50
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#140A10
muted
#837C7F

Preview Lab

Preview with #B23F8B

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

Preview Lab → · Contrast checker → · Palette generator →

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