#B23F8D#B23F8D

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

Color values

HEX#B23F8D
RGBrgb(178, 63, 141)
HSLhsl(319, 48%, 47%)
HSVhsv(319, 65%, 70%)
CMYKcmyk(0%, 64.6%, 20.8%, 30.2%)
CIE-LABlab(45.56, 54.79, -19.15)
CIE-LCHlch(45.56, 58.04, 340.74°)
OKLaboklab(55.33% 0.164 -0.0512)
OKLCHoklch(55.33% 0.172 342.7)
XYZxyz(24.9461, 14.9454, 26.7651)
Luminance0.1494 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23F8D #3FB264
analogous
#9D3FB2 #B23F8D #B23F54
triadic
#B23F8D #8DB23F #3F8DB2
tetradic
#B23F8D #B29D3F #3FB264 #3F54B2
square
#B23F8D #B29D3F #3FB264 #3F54B2
split-complementary
#B23F8D #54B23F #3FB29D
monochromatic
#581F45 #852F69 #B23F8D #C966A9 #D993C2

Accessibility & contrast

On white

5.27
#B23F8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#B23F8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23F8D
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23F8D#FFFFFF#000000##FFFFFF
##B23F8D1.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48608F
Deuteranopia (green-blind)
#6B738A
Tritanopia (blue-blind)
#BD4060
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b23f8d;
/* rgb */ color: rgb(178, 63, 141);
/* oklch */ color: oklch(55.3% 0.172 342.7);
Tailwind
colors: {
  custom: {
    50: '#cc7cae',
    500: '#b23f8d',
    950: '#000000',
  },
}
SCSS
$custom: #b23f8d;
$custom-light: #cc7cae;
$custom-dark: #000000;
JSON
{
  "hex": "#b23f8d",
  "rgb": {
    "r": 178,
    "g": 63,
    "b": 141
  },
  "hsl": {
    "h": 319.304,
    "s": 47.718,
    "l": 47.255
  },
  "oklch": {
    "l": 0.55326,
    "c": 0.1718,
    "h": 342.7
  },
  "luminance": 0.14943
}

Semantic roles & 50–950 ramp

primary
#B23F8D
secondary
#89C49C
accent
#D77C50
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#140A10
muted
#837C7F

Preview Lab

Preview with #B23F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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