#B03797#B03797

#B03797 is a mid, vivid pink. Relative luminance 0.142; OKLCH L 54.6% C 0.188 H 337.2°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#B03797
RGBrgb(176, 55, 151)
HSLhsl(312, 52%, 45%)
HSVhsv(312, 69%, 69%)
CMYKcmyk(0%, 68.8%, 14.2%, 31%)
CIE-LABlab(44.52, 58.90, -26.81)
CIE-LCHlch(44.52, 64.71, 335.52°)
OKLaboklab(54.64% 0.1733 -0.0728)
OKLCHoklch(54.64% 0.188 337.2)
XYZxyz(24.8570, 14.1991, 30.7037)
Luminance0.1420 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B03797 #37B050
analogous
#8D37B0 #B03797 #B0375A
triadic
#B03797 #97B037 #3797B0
tetradic
#B03797 #B08D37 #37B050 #375AB0
square
#B03797 #B08D37 #37B050 #375AB0
split-complementary
#B03797 #5AB037 #37B08D
monochromatic
#531A47 #81286F #B03797 #CB59B4 #DA88C9

Accessibility & contrast

On white

5.47
#B03797 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#B03797 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B03797
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B03797#FFFFFF#000000##FFFFFF
##B037971.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5D9A
Deuteranopia (green-blind)
#627094
Tritanopia (blue-blind)
#B93D62
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b03797;
/* rgb */ color: rgb(176, 55, 151);
/* oklch */ color: oklch(54.6% 0.188 337.2);
Tailwind
colors: {
  custom: {
    50: '#cb78b6',
    500: '#b03797',
    950: '#000000',
  },
}
SCSS
$custom: #b03797;
$custom-light: #cb78b6;
$custom-dark: #000000;
JSON
{
  "hex": "#b03797",
  "rgb": {
    "r": 176,
    "g": 55,
    "b": 151
  },
  "hsl": {
    "h": 312.397,
    "s": 52.381,
    "l": 45.294
  },
  "oklch": {
    "l": 0.54644,
    "c": 0.18798,
    "h": 337.2
  },
  "luminance": 0.14197
}

Semantic roles & 50–950 ramp

primary
#B03797
secondary
#7FC48D
accent
#DC6A4C
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140A11
muted
#827C80

Preview Lab

Preview with #B03797

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

Preview Lab → · Contrast checker → · Palette generator →

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