#B7307C#B7307C

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

Color values

HEX#B7307C
RGBrgb(183, 48, 124)
HSLhsl(326, 58%, 45%)
HSVhsv(326, 74%, 72%)
CMYKcmyk(0%, 73.8%, 32.2%, 28.2%)
CIE-LABlab(43.71, 59.64, -11.53)
CIE-LCHlch(43.71, 60.74, 349.06°)
OKLaboklab(53.92% 0.1824 -0.03)
OKLCHoklch(53.92% 0.185 350.7)
XYZxyz(24.2248, 13.6392, 20.4218)
Luminance0.1364 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7307C #30B76B
analogous
#AE30B7 #B7307C #B73038
triadic
#B7307C #7CB730 #307CB7
tetradic
#B7307C #B7AE30 #30B76B #3038B7
square
#B7307C #B7AE30 #30B76B #3038B7
split-complementary
#B7307C #38B730 #30B7AE
monochromatic
#56173A #87235B #B7307C #D2529A #DE83B6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B7307C#FFFFFF#000000##FFFFFF
##B7307C1.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)
#46587E
Deuteranopia (green-blind)
#6D7079
Tritanopia (blue-blind)
#C52752
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b7307c;
/* rgb */ color: rgb(183, 48, 124);
/* oklch */ color: oklch(53.9% 0.185 350.7);
Tailwind
colors: {
  custom: {
    50: '#d175a2',
    500: '#b7307c',
    950: '#000000',
  },
}
SCSS
$custom: #b7307c;
$custom-light: #d175a2;
$custom-dark: #000000;
JSON
{
  "hex": "#b7307c",
  "rgb": {
    "r": 183,
    "g": 48,
    "b": 124
  },
  "hsl": {
    "h": 326.222,
    "s": 58.442,
    "l": 45.294
  },
  "oklch": {
    "l": 0.53918,
    "c": 0.1848,
    "h": 350.7
  },
  "luminance": 0.13636
}

Semantic roles & 50–950 ramp

primary
#B7307C
secondary
#7BC89D
accent
#E28A46
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#15090F
muted
#837B7E

Preview Lab

Preview with #B7307C

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

Preview Lab → · Contrast checker → · Palette generator →

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