#B23381#B23381

#B23381 is a mid, vivid pink. Relative luminance 0.134; OKLCH L 53.6% C 0.180 H 347.2°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#B23381
RGBrgb(178, 51, 129)
HSLhsl(323, 55%, 45%)
HSVhsv(323, 71%, 70%)
CMYKcmyk(0%, 71.3%, 27.5%, 30.2%)
CIE-LABlab(43.39, 57.86, -15.17)
CIE-LCHlch(43.39, 59.82, 345.31°)
OKLaboklab(53.58% 0.1757 -0.04)
OKLCHoklch(53.58% 0.18 347.2)
XYZxyz(23.5074, 13.4201, 22.1170)
Luminance0.1342 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23381 #33B264
analogous
#A433B2 #B23381 #B23341
triadic
#B23381 #81B233 #3381B2
tetradic
#B23381 #B2A433 #33B264 #3341B2
square
#B23381 #B2A433 #33B264 #3341B2
split-complementary
#B23381 #41B233 #33B2A4
monochromatic
#53183C #82255F #B23381 #CE549F #DC84BA

Accessibility & contrast

On white

5.70
#B23381 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#B23381 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23381
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23381#FFFFFF#000000##FFFFFF
##B233811.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445983
Deuteranopia (green-blind)
#696E7E
Tritanopia (blue-blind)
#BE2F55
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b23381;
/* rgb */ color: rgb(178, 51, 129);
/* oklch */ color: oklch(53.6% 0.180 347.2);
Tailwind
colors: {
  custom: {
    50: '#cd75a5',
    500: '#b23381',
    950: '#000000',
  },
}
SCSS
$custom: #b23381;
$custom-light: #cd75a5;
$custom-dark: #000000;
JSON
{
  "hex": "#b23381",
  "rgb": {
    "r": 178,
    "g": 51,
    "b": 129
  },
  "hsl": {
    "h": 323.15,
    "s": 55.459,
    "l": 44.902
  },
  "oklch": {
    "l": 0.5358,
    "c": 0.18023,
    "h": 347.2
  },
  "luminance": 0.13418
}

Semantic roles & 50–950 ramp

primary
#B23381
secondary
#7CC598
accent
#DF8349
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14090F
muted
#837B7F

Preview Lab

Preview with #B23381

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

Preview Lab → · Contrast checker → · Palette generator →

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