#B0397F#B0397F

#B0397F is a mid, vivid pink. Relative luminance 0.137; OKLCH L 53.8% C 0.170 H 348.1°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#B0397F
RGBrgb(176, 57, 127)
HSLhsl(325, 51%, 46%)
HSVhsv(325, 68%, 69%)
CMYKcmyk(0%, 67.6%, 27.8%, 31%)
CIE-LABlab(43.79, 54.77, -13.37)
CIE-LCHlch(43.79, 56.38, 346.28°)
OKLaboklab(53.78% 0.1663 -0.0351)
OKLCHoklch(53.78% 0.17 348.1)
XYZxyz(23.1994, 13.6911, 21.4954)
Luminance0.1369 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0397F #39B06A
analogous
#A539B0 #B0397F #B03943
triadic
#B0397F #7FB039 #397FB0
tetradic
#B0397F #B0A539 #39B06A #3943B0
square
#B0397F #B0A539 #39B06A #3943B0
split-complementary
#B0397F #43B039 #39B0A5
monochromatic
#541B3C #822A5E #B0397F #CA5C9D #D98AB9

Accessibility & contrast

On white

5.62
#B0397F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#B0397F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B0397F
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0397F#FFFFFF#000000##FFFFFF
##B0397F1.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485A81
Deuteranopia (green-blind)
#6B6F7C
Tritanopia (blue-blind)
#BC3557
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b0397f;
/* rgb */ color: rgb(176, 57, 127);
/* oklch */ color: oklch(53.8% 0.170 348.1);
Tailwind
colors: {
  custom: {
    50: '#cb78a4',
    500: '#b0397f',
    950: '#000000',
  },
}
SCSS
$custom: #b0397f;
$custom-light: #cb78a4;
$custom-dark: #000000;
JSON
{
  "hex": "#b0397f",
  "rgb": {
    "r": 176,
    "g": 57,
    "b": 127
  },
  "hsl": {
    "h": 324.706,
    "s": 51.073,
    "l": 45.686
  },
  "oklch": {
    "l": 0.5378,
    "c": 0.16994,
    "h": 348.1
  },
  "luminance": 0.13689
}

Semantic roles & 50–950 ramp

primary
#B0397F
secondary
#81C49D
accent
#DB874D
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#14090F
muted
#837B7F

Preview Lab

Preview with #B0397F

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

Preview Lab → · Contrast checker → · Palette generator →

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