#B2397E#B2397E

#B2397E is a mid, vivid pink. Relative luminance 0.139; OKLCH L 54.1% C 0.171 H 349.2°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#B2397E
RGBrgb(178, 57, 126)
HSLhsl(326, 51%, 46%)
HSVhsv(326, 68%, 70%)
CMYKcmyk(0%, 68%, 29.2%, 30.2%)
CIE-LABlab(44.09, 55.21, -12.27)
CIE-LCHlch(44.09, 56.56, 347.47°)
OKLaboklab(54.06% 0.1679 -0.0321)
OKLCHoklch(54.06% 0.171 349.2)
XYZxyz(23.5902, 13.9001, 21.1753)
Luminance0.1390 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2397E #39B26D
analogous
#A939B2 #B2397E #B23942
triadic
#B2397E #7EB239 #397EB2
tetradic
#B2397E #B2A939 #39B26D #3942B2
square
#B2397E #B2A939 #39B26D #3942B2
split-complementary
#B2397E #42B239 #39B2A9
monochromatic
#551B3C #842A5D #B2397E #CB5D9C #DA8BB8

Accessibility & contrast

On white

5.56
#B2397E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#B2397E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B2397E
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2397E#FFFFFF#000000##FFFFFF
##B2397E1.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5B80
Deuteranopia (green-blind)
#6C707B
Tritanopia (blue-blind)
#BF3456
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b2397e;
/* rgb */ color: rgb(178, 57, 126);
/* oklch */ color: oklch(54.1% 0.171 349.2);
Tailwind
colors: {
  custom: {
    50: '#cd78a3',
    500: '#b2397e',
    950: '#000000',
  },
}
SCSS
$custom: #b2397e;
$custom-light: #cd78a3;
$custom-dark: #000000;
JSON
{
  "hex": "#b2397e",
  "rgb": {
    "r": 178,
    "g": 57,
    "b": 126
  },
  "hsl": {
    "h": 325.785,
    "s": 51.489,
    "l": 46.078
  },
  "oklch": {
    "l": 0.54055,
    "c": 0.17099,
    "h": 349.2
  },
  "luminance": 0.13898
}

Semantic roles & 50–950 ramp

primary
#B2397E
secondary
#82C49F
accent
#DB8A4D
background
#FDF7FA
surface
#FAEEF3
border
#D3C9CD
text
#140A0F
muted
#837C7F

Preview Lab

Preview with #B2397E

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

Preview Lab → · Contrast checker → · Palette generator →

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