#B23397#B23397

#B23397 is a mid, vivid pink. Relative luminance 0.141; OKLCH L 54.6% C 0.194 H 337.8°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#B23397
RGBrgb(178, 51, 151)
HSLhsl(313, 55%, 45%)
HSVhsv(313, 71%, 70%)
CMYKcmyk(0%, 71.3%, 15.2%, 30.2%)
CIE-LABlab(44.33, 60.86, -27.07)
CIE-LCHlch(44.33, 66.61, 336.02°)
OKLaboklab(54.57% 0.1797 -0.0735)
OKLCHoklch(54.57% 0.194 337.8)
XYZxyz(25.1303, 14.0693, 30.6643)
Luminance0.1407 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23397 #33B24E
analogous
#8E33B2 #B23397 #B23357
triadic
#B23397 #97B233 #3397B2
tetradic
#B23397 #B28E33 #33B24E #3357B2
square
#B23397 #B28E33 #33B24E #3357B2
split-complementary
#B23397 #57B233 #33B28E
monochromatic
#531846 #82256F #B23397 #CE54B4 #DC84C9

Accessibility & contrast

On white

5.51
#B23397 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#B23397 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23397
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23397#FFFFFF#000000##FFFFFF
##B233971.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385C9A
Deuteranopia (green-blind)
#627094
Tritanopia (blue-blind)
#BC3961
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b23397;
/* rgb */ color: rgb(178, 51, 151);
/* oklch */ color: oklch(54.6% 0.194 337.8);
Tailwind
colors: {
  custom: {
    50: '#cd76b6',
    500: '#b23397',
    950: '#000000',
  },
}
SCSS
$custom: #b23397;
$custom-light: #cd76b6;
$custom-dark: #000000;
JSON
{
  "hex": "#b23397",
  "rgb": {
    "r": 178,
    "g": 51,
    "b": 151
  },
  "hsl": {
    "h": 312.756,
    "s": 55.459,
    "l": 44.902
  },
  "oklch": {
    "l": 0.54574,
    "c": 0.19414,
    "h": 337.8
  },
  "luminance": 0.14067
}

Semantic roles & 50–950 ramp

primary
#B23397
secondary
#7CC58B
accent
#DF6949
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B23397

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

Preview Lab → · Contrast checker → · Palette generator →

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