#B7308F#B7308F

#B7308F is a mid, vivid pink. Relative luminance 0.142; OKLCH L 54.7% C 0.196 H 342.5°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#B7308F
RGBrgb(183, 48, 143)
HSLhsl(318, 58%, 45%)
HSVhsv(318, 74%, 72%)
CMYKcmyk(0%, 73.8%, 21.9%, 28.2%)
CIE-LABlab(44.47, 62.01, -21.96)
CIE-LCHlch(44.47, 65.79, 340.50°)
OKLaboklab(54.72% 0.1864 -0.0589)
OKLCHoklch(54.72% 0.196 342.5)
XYZxyz(25.5442, 14.1670, 27.3705)
Luminance0.1416 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7308F #30B758
analogous
#9C30B7 #B7308F #B7304B
triadic
#B7308F #8FB730 #308FB7
tetradic
#B7308F #B79C30 #30B758 #304BB7
square
#B7308F #B79C30 #30B758 #304BB7
split-complementary
#B7308F #4BB730 #30B79C
monochromatic
#561743 #872369 #B7308F #D252AC #DE83C3

Accessibility & contrast

On white

5.48
#B7308F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#B7308F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B7308F
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7308F#FFFFFF#000000##FFFFFF
##B7308F1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5B92
Deuteranopia (green-blind)
#67718C
Tritanopia (blue-blind)
#C3315C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b7308f;
/* rgb */ color: rgb(183, 48, 143);
/* oklch */ color: oklch(54.7% 0.196 342.5);
Tailwind
colors: {
  custom: {
    50: '#d175b0',
    500: '#b7308f',
    950: '#000000',
  },
}
SCSS
$custom: #b7308f;
$custom-light: #d175b0;
$custom-dark: #000000;
JSON
{
  "hex": "#b7308f",
  "rgb": {
    "r": 183,
    "g": 48,
    "b": 143
  },
  "hsl": {
    "h": 317.778,
    "s": 58.442,
    "l": 45.294
  },
  "oklch": {
    "l": 0.5472,
    "c": 0.19551,
    "h": 342.5
  },
  "luminance": 0.14164
}

Semantic roles & 50–950 ramp

primary
#B7308F
secondary
#7BC892
accent
#E27446
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#150910
muted
#837B7F

Preview Lab

Preview with #B7308F

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

Preview Lab → · Contrast checker → · Palette generator →

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