#B7308C#B7308C

#B7308C is a mid, vivid pink. Relative luminance 0.141; OKLCH L 54.6% C 0.194 H 343.7°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#B7308C
RGBrgb(183, 48, 140)
HSLhsl(319, 58%, 45%)
HSVhsv(319, 74%, 72%)
CMYKcmyk(0%, 73.8%, 23.5%, 28.2%)
CIE-LABlab(44.34, 61.62, -20.34)
CIE-LCHlch(44.34, 64.89, 341.73°)
OKLaboklab(54.59% 0.1859 -0.0543)
OKLCHoklch(54.59% 0.194 343.7)
XYZxyz(25.3200, 14.0773, 26.1896)
Luminance0.1407 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7308C #30B75B
analogous
#9E30B7 #B7308C #B73048
triadic
#B7308C #8CB730 #308CB7
tetradic
#B7308C #B79E30 #30B75B #3048B7
square
#B7308C #B79E30 #30B75B #3048B7
split-complementary
#B7308C #48B730 #30B79E
monochromatic
#561742 #872367 #B7308C #D252A9 #DE83C1

Accessibility & contrast

On white

5.50
#B7308C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#B7308C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B7308C
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7308C#FFFFFF#000000##FFFFFF
##B7308C1.005.503.815.50
#FFFFFF5.501.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5B8F
Deuteranopia (green-blind)
#687189
Tritanopia (blue-blind)
#C3305A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b7308c;
/* rgb */ color: rgb(183, 48, 140);
/* oklch */ color: oklch(54.6% 0.194 343.7);
Tailwind
colors: {
  custom: {
    50: '#d175ad',
    500: '#b7308c',
    950: '#000000',
  },
}
SCSS
$custom: #b7308c;
$custom-light: #d175ad;
$custom-dark: #000000;
JSON
{
  "hex": "#b7308c",
  "rgb": {
    "r": 183,
    "g": 48,
    "b": 140
  },
  "hsl": {
    "h": 319.111,
    "s": 58.442,
    "l": 45.294
  },
  "oklch": {
    "l": 0.54586,
    "c": 0.19368,
    "h": 343.7
  },
  "luminance": 0.14075
}

Semantic roles & 50–950 ramp

primary
#B7308C
secondary
#7BC894
accent
#E27846
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#150910
muted
#837B7F

Preview Lab

Preview with #B7308C

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

Preview Lab → · Contrast checker → · Palette generator →

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