#B7397D#B7397D

#B7397D is a mid, vivid pink. Relative luminance 0.145; OKLCH L 54.8% C 0.175 H 351.2°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#B7397D
RGBrgb(183, 57, 125)
HSLhsl(328, 53%, 47%)
HSVhsv(328, 69%, 72%)
CMYKcmyk(0%, 68.9%, 31.7%, 28.2%)
CIE-LABlab(44.91, 56.51, -10.34)
CIE-LCHlch(44.91, 57.45, 349.63°)
OKLaboklab(54.81% 0.1724 -0.0268)
OKLCHoklch(54.81% 0.175 351.2)
XYZxyz(24.6945, 14.4769, 20.8919)
Luminance0.1447 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7397D #39B773
analogous
#B239B7 #B7397D #B7393E
triadic
#B7397D #7DB739 #397DB7
tetradic
#B7397D #B7B239 #39B773 #393EB7
square
#B7397D #B7B239 #39B773 #393EB7
split-complementary
#B7397D #3EB739 #39B7B2
monochromatic
#5A1C3D #882A5D #B7397D #CD609B #DC8EB8

Accessibility & contrast

On white

5.39
#B7397D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#B7397D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B7397D
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7397D#FFFFFF#000000##FFFFFF
##B7397D1.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5C7F
Deuteranopia (green-blind)
#70737A
Tritanopia (blue-blind)
#C43156
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b7397d;
/* rgb */ color: rgb(183, 57, 125);
/* oklch */ color: oklch(54.8% 0.175 351.2);
Tailwind
colors: {
  custom: {
    50: '#d179a2',
    500: '#b7397d',
    950: '#000000',
  },
}
SCSS
$custom: #b7397d;
$custom-light: #d179a2;
$custom-dark: #000000;
JSON
{
  "hex": "#b7397d",
  "rgb": {
    "r": 183,
    "g": 57,
    "b": 125
  },
  "hsl": {
    "h": 327.619,
    "s": 52.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.54808,
    "c": 0.17451,
    "h": 351.2
  },
  "luminance": 0.14474
}

Semantic roles & 50–950 ramp

primary
#B7397D
secondary
#85C7A3
accent
#DC8E4C
background
#FDF7FA
surface
#FAEEF3
border
#D3C9CD
text
#150A0F
muted
#837C7F

Preview Lab

Preview with #B7397D

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

Preview Lab → · Contrast checker → · Palette generator →

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