#B0397B#B0397B

#B0397B is a mid, vivid pink. Relative luminance 0.136; OKLCH L 53.6% C 0.168 H 350.0°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#B0397B
RGBrgb(176, 57, 123)
HSLhsl(327, 51%, 46%)
HSVhsv(327, 68%, 69%)
CMYKcmyk(0%, 67.6%, 30.1%, 31%)
CIE-LABlab(43.64, 54.27, -11.15)
CIE-LCHlch(43.64, 55.40, 348.39°)
OKLaboklab(53.62% 0.1652 -0.0291)
OKLCHoklch(53.62% 0.168 350)
XYZxyz(22.9439, 13.5889, 20.1497)
Luminance0.1359 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0397B #39B06E
analogous
#A939B0 #B0397B #B0393F
triadic
#B0397B #7BB039 #397BB0
tetradic
#B0397B #B0A939 #39B06E #393FB0
square
#B0397B #B0A939 #39B06E #393FB0
split-complementary
#B0397B #3FB039 #39B0A9
monochromatic
#541B3A #822A5B #B0397B #CA5C99 #D98AB6

Accessibility & contrast

On white

5.65
#B0397B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#B0397B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B0397B
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0397B#FFFFFF#000000##FFFFFF
##B0397B1.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5A7D
Deuteranopia (green-blind)
#6C6F78
Tritanopia (blue-blind)
#BD3355
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b0397b;
/* rgb */ color: rgb(176, 57, 123);
/* oklch */ color: oklch(53.6% 0.168 350.0);
Tailwind
colors: {
  custom: {
    50: '#cb78a1',
    500: '#b0397b',
    950: '#000000',
  },
}
SCSS
$custom: #b0397b;
$custom-light: #cb78a1;
$custom-dark: #000000;
JSON
{
  "hex": "#b0397b",
  "rgb": {
    "r": 176,
    "g": 57,
    "b": 123
  },
  "hsl": {
    "h": 326.723,
    "s": 51.073,
    "l": 45.686
  },
  "oklch": {
    "l": 0.53622,
    "c": 0.16776,
    "h": 350
  },
  "luminance": 0.13586
}

Semantic roles & 50–950 ramp

primary
#B0397B
secondary
#81C49F
accent
#DB8C4D
background
#FDF7F9
surface
#FAEEF2
border
#D3C9CC
text
#14090F
muted
#837B7E

Preview Lab

Preview with #B0397B

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

Preview Lab → · Contrast checker → · Palette generator →

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