#B7307D#B7307D

#B7307D is a mid, vivid pink. Relative luminance 0.137; OKLCH L 54.0% C 0.185 H 350.2°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#B7307D
RGBrgb(183, 48, 125)
HSLhsl(326, 58%, 45%)
HSVhsv(326, 74%, 72%)
CMYKcmyk(0%, 73.8%, 31.7%, 28.2%)
CIE-LABlab(43.75, 59.76, -12.09)
CIE-LCHlch(43.75, 60.97, 348.56°)
OKLaboklab(53.96% 0.1826 -0.0315)
OKLCHoklch(53.96% 0.185 350.2)
XYZxyz(24.2884, 13.6647, 20.7565)
Luminance0.1366 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7307D #30B76A
analogous
#AE30B7 #B7307D #B73039
triadic
#B7307D #7DB730 #307DB7
tetradic
#B7307D #B7AE30 #30B76A #3039B7
square
#B7307D #B7AE30 #30B76A #3039B7
split-complementary
#B7307D #39B730 #30B7AE
monochromatic
#56173B #87235C #B7307D #D2529B #DE83B7

Accessibility & contrast

On white

5.63
#B7307D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#B7307D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B7307D
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7307D#FFFFFF#000000##FFFFFF
##B7307D1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46587F
Deuteranopia (green-blind)
#6D707A
Tritanopia (blue-blind)
#C52752
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b7307d;
/* rgb */ color: rgb(183, 48, 125);
/* oklch */ color: oklch(54.0% 0.185 350.2);
Tailwind
colors: {
  custom: {
    50: '#d175a2',
    500: '#b7307d',
    950: '#000000',
  },
}
SCSS
$custom: #b7307d;
$custom-light: #d175a2;
$custom-dark: #000000;
JSON
{
  "hex": "#b7307d",
  "rgb": {
    "r": 183,
    "g": 48,
    "b": 125
  },
  "hsl": {
    "h": 325.778,
    "s": 58.442,
    "l": 45.294
  },
  "oklch": {
    "l": 0.53957,
    "c": 0.18531,
    "h": 350.2
  },
  "luminance": 0.13662
}

Semantic roles & 50–950 ramp

primary
#B7307D
secondary
#7BC89C
accent
#E28946
background
#FDF7FA
surface
#FAEDF3
border
#D3C8CD
text
#15090F
muted
#837B7F

Preview Lab

Preview with #B7307D

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

Preview Lab → · Contrast checker → · Palette generator →

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