#B7308D#B7308D

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

Color values

HEX#B7308D
RGBrgb(183, 48, 141)
HSLhsl(319, 58%, 45%)
HSVhsv(319, 74%, 72%)
CMYKcmyk(0%, 73.8%, 23%, 28.2%)
CIE-LABlab(44.39, 61.75, -20.88)
CIE-LCHlch(44.39, 65.18, 341.32°)
OKLaboklab(54.63% 0.1861 -0.0559)
OKLCHoklch(54.63% 0.194 343.3)
XYZxyz(25.3940, 14.1069, 26.5797)
Luminance0.1410 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7308D #30B75A
analogous
#9E30B7 #B7308D #B73049
triadic
#B7308D #8DB730 #308DB7
tetradic
#B7308D #B79E30 #30B75A #3049B7
square
#B7308D #B79E30 #30B75A #3049B7
split-complementary
#B7308D #49B730 #30B79E
monochromatic
#561742 #872368 #B7308D #D252AA #DE83C2

Accessibility & contrast

On white

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

On black

3.82
#B7308D on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B7308D#FFFFFF#000000##FFFFFF
##B7308D1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5B90
Deuteranopia (green-blind)
#68718A
Tritanopia (blue-blind)
#C3305B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b7308d;
/* rgb */ color: rgb(183, 48, 141);
/* oklch */ color: oklch(54.6% 0.194 343.3);
Tailwind
colors: {
  custom: {
    50: '#d175ae',
    500: '#b7308d',
    950: '#000000',
  },
}
SCSS
$custom: #b7308d;
$custom-light: #d175ae;
$custom-dark: #000000;
JSON
{
  "hex": "#b7308d",
  "rgb": {
    "r": 183,
    "g": 48,
    "b": 141
  },
  "hsl": {
    "h": 318.667,
    "s": 58.442,
    "l": 45.294
  },
  "oklch": {
    "l": 0.5463,
    "c": 0.19428,
    "h": 343.3
  },
  "luminance": 0.14104
}

Semantic roles & 50–950 ramp

primary
#B7308D
secondary
#7BC893
accent
#E27746
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#150910
muted
#837B7F

Preview Lab

Preview with #B7308D

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

Preview Lab → · Contrast checker → · Palette generator →

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