#B23297#B23297

#B23297 is a mid, vivid pink. Relative luminance 0.140; OKLCH L 54.5% C 0.195 H 337.7°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#B23297
RGBrgb(178, 50, 151)
HSLhsl(313, 56%, 45%)
HSVhsv(313, 72%, 70%)
CMYKcmyk(0%, 71.9%, 15.2%, 30.2%)
CIE-LABlab(44.21, 61.21, -27.27)
CIE-LCHlch(44.21, 67.01, 335.99°)
OKLaboklab(54.48% 0.1808 -0.074)
OKLCHoklch(54.48% 0.195 337.7)
XYZxyz(25.0871, 13.9829, 30.6499)
Luminance0.1398 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23297 #32B24D
analogous
#8D32B2 #B23297 #B23257
triadic
#B23297 #97B232 #3297B2
tetradic
#B23297 #B28D32 #32B24D #3257B2
square
#B23297 #B28D32 #32B24D #3257B2
split-complementary
#B23297 #57B232 #32B28D
monochromatic
#521746 #82256E #B23297 #CF53B4 #DC82C9

Accessibility & contrast

On white

5.53
#B23297 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#B23297 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23297
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23297#FFFFFF#000000##FFFFFF
##B232971.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375C9A
Deuteranopia (green-blind)
#617094
Tritanopia (blue-blind)
#BC3960
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b23297;
/* rgb */ color: rgb(178, 50, 151);
/* oklch */ color: oklch(54.5% 0.195 337.7);
Tailwind
colors: {
  custom: {
    50: '#cd76b6',
    500: '#b23297',
    950: '#000000',
  },
}
SCSS
$custom: #b23297;
$custom-light: #cd76b6;
$custom-dark: #000000;
JSON
{
  "hex": "#b23297",
  "rgb": {
    "r": 178,
    "g": 50,
    "b": 151
  },
  "hsl": {
    "h": 312.656,
    "s": 56.14,
    "l": 44.706
  },
  "oklch": {
    "l": 0.54484,
    "c": 0.19532,
    "h": 337.7
  },
  "luminance": 0.13981
}

Semantic roles & 50–950 ramp

primary
#B23297
secondary
#7BC58A
accent
#DF6848
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B23297

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

Preview Lab → · Contrast checker → · Palette generator →

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