#B7308E#B7308E

#B7308E is a mid, vivid pink. Relative luminance 0.141; OKLCH L 54.7% C 0.195 H 342.9°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#B7308E
RGBrgb(183, 48, 142)
HSLhsl(318, 58%, 45%)
HSVhsv(318, 74%, 72%)
CMYKcmyk(0%, 73.8%, 22.4%, 28.2%)
CIE-LABlab(44.43, 61.88, -21.42)
CIE-LCHlch(44.43, 65.48, 340.91°)
OKLaboklab(54.68% 0.1863 -0.0574)
OKLCHoklch(54.68% 0.195 342.9)
XYZxyz(25.4688, 14.1368, 26.9733)
Luminance0.1413 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7308E #30B759
analogous
#9C30B7 #B7308E #B7304A
triadic
#B7308E #8EB730 #308EB7
tetradic
#B7308E #B79C30 #30B759 #304AB7
square
#B7308E #B79C30 #30B759 #304AB7
split-complementary
#B7308E #4AB730 #30B79C
monochromatic
#561743 #872368 #B7308E #D252AB #DE83C3

Accessibility & contrast

On white

5.49
#B7308E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B7308E
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7308E#FFFFFF#000000##FFFFFF
##B7308E1.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5B91
Deuteranopia (green-blind)
#68718B
Tritanopia (blue-blind)
#C3315B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b7308e;
/* rgb */ color: rgb(183, 48, 142);
/* oklch */ color: oklch(54.7% 0.195 342.9);
Tailwind
colors: {
  custom: {
    50: '#d175af',
    500: '#b7308e',
    950: '#000000',
  },
}
SCSS
$custom: #b7308e;
$custom-light: #d175af;
$custom-dark: #000000;
JSON
{
  "hex": "#b7308e",
  "rgb": {
    "r": 183,
    "g": 48,
    "b": 142
  },
  "hsl": {
    "h": 318.222,
    "s": 58.442,
    "l": 45.294
  },
  "oklch": {
    "l": 0.54675,
    "c": 0.1949,
    "h": 342.9
  },
  "luminance": 0.14134
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B7308E

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

Preview Lab → · Contrast checker → · Palette generator →

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