#B2397B#B2397B

#B2397B is a mid, vivid pink. Relative luminance 0.138; OKLCH L 53.9% C 0.169 H 350.6°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#B2397B
RGBrgb(178, 57, 123)
HSLhsl(327, 51%, 46%)
HSVhsv(327, 68%, 70%)
CMYKcmyk(0%, 68%, 30.9%, 30.2%)
CIE-LABlab(43.98, 54.84, -10.60)
CIE-LCHlch(43.98, 55.86, 349.06°)
OKLaboklab(53.94% 0.1671 -0.0275)
OKLCHoklch(53.94% 0.169 350.6)
XYZxyz(23.3996, 13.8238, 20.1710)
Luminance0.1382 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2397B #39B270
analogous
#AC39B2 #B2397B #B2393E
triadic
#B2397B #7BB239 #397BB2
tetradic
#B2397B #B2AC39 #39B270 #393EB2
square
#B2397B #B2AC39 #39B270 #393EB2
split-complementary
#B2397B #3EB239 #39B2AC
monochromatic
#551B3B #842A5B #B2397B #CB5D99 #DA8BB6

Accessibility & contrast

On white

5.58
#B2397B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#B2397B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B2397B
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2397B#FFFFFF#000000##FFFFFF
##B2397B1.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5A7D
Deuteranopia (green-blind)
#6D7078
Tritanopia (blue-blind)
#BF3255
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b2397b;
/* rgb */ color: rgb(178, 57, 123);
/* oklch */ color: oklch(53.9% 0.169 350.6);
Tailwind
colors: {
  custom: {
    50: '#cd78a1',
    500: '#b2397b',
    950: '#000000',
  },
}
SCSS
$custom: #b2397b;
$custom-light: #cd78a1;
$custom-dark: #000000;
JSON
{
  "hex": "#b2397b",
  "rgb": {
    "r": 178,
    "g": 57,
    "b": 123
  },
  "hsl": {
    "h": 327.273,
    "s": 51.489,
    "l": 46.078
  },
  "oklch": {
    "l": 0.53938,
    "c": 0.1694,
    "h": 350.6
  },
  "luminance": 0.13821
}

Semantic roles & 50–950 ramp

primary
#B2397B
secondary
#82C4A0
accent
#DB8D4D
background
#FDF7F9
surface
#FAEEF2
border
#D3C9CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #B2397B

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

Preview Lab → · Contrast checker → · Palette generator →

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