#B23F8A#B23F8A

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

Color values

HEX#B23F8A
RGBrgb(178, 63, 138)
HSLhsl(321, 48%, 47%)
HSVhsv(321, 65%, 70%)
CMYKcmyk(0%, 64.6%, 22.5%, 30.2%)
CIE-LABlab(45.44, 54.36, -17.52)
CIE-LCHlch(45.44, 57.12, 342.14°)
OKLaboklab(55.2% 0.1633 -0.0466)
OKLCHoklch(55.2% 0.17 344.1)
XYZxyz(24.7259, 14.8573, 25.6054)
Luminance0.1485 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23F8A #3FB267
analogous
#A13FB2 #B23F8A #B23F50
triadic
#B23F8A #8AB23F #3F8AB2
tetradic
#B23F8A #B2A13F #3FB267 #3F50B2
square
#B23F8A #B2A13F #3FB267 #3F50B2
split-complementary
#B23F8A #50B23F #3FB2A1
monochromatic
#581F44 #852F67 #B23F8A #C966A6 #D993C0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B23F8A#FFFFFF#000000##FFFFFF
##B23F8A1.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)
#4A5F8C
Deuteranopia (green-blind)
#6B7387
Tritanopia (blue-blind)
#BD3E5F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b23f8a;
/* rgb */ color: rgb(178, 63, 138);
/* oklch */ color: oklch(55.2% 0.170 344.1);
Tailwind
colors: {
  custom: {
    50: '#cc7cac',
    500: '#b23f8a',
    950: '#000000',
  },
}
SCSS
$custom: #b23f8a;
$custom-light: #cc7cac;
$custom-dark: #000000;
JSON
{
  "hex": "#b23f8a",
  "rgb": {
    "r": 178,
    "g": 63,
    "b": 138
  },
  "hsl": {
    "h": 320.87,
    "s": 47.718,
    "l": 47.255
  },
  "oklch": {
    "l": 0.55197,
    "c": 0.16987,
    "h": 344.1
  },
  "luminance": 0.14855
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B23F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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