#B5307C#B5307C

#B5307C is a mid, vivid pink. Relative luminance 0.134; OKLCH L 53.6% C 0.183 H 350.1°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#B5307C
RGBrgb(181, 48, 124)
HSLhsl(326, 58%, 45%)
HSVhsv(326, 73%, 71%)
CMYKcmyk(0%, 73.5%, 31.5%, 29%)
CIE-LABlab(43.35, 59.11, -12.11)
CIE-LCHlch(43.35, 60.33, 348.42°)
OKLaboklab(53.59% 0.1806 -0.0316)
OKLCHoklch(53.59% 0.183 350.1)
XYZxyz(23.7524, 13.3956, 20.3996)
Luminance0.1339 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5307C #30B569
analogous
#AB30B5 #B5307C #B5303A
triadic
#B5307C #7CB530 #307CB5
tetradic
#B5307C #B5AB30 #30B569 #303AB5
square
#B5307C #B5AB30 #30B569 #303AB5
split-complementary
#B5307C #3AB530 #30B5AB
monochromatic
#54163A #85235B #B5307C #D1519A #DE82B6

Accessibility & contrast

On white

5.71
#B5307C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#B5307C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B5307C
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5307C#FFFFFF#000000##FFFFFF
##B5307C1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45577E
Deuteranopia (green-blind)
#6C6F79
Tritanopia (blue-blind)
#C22852
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b5307c;
/* rgb */ color: rgb(181, 48, 124);
/* oklch */ color: oklch(53.6% 0.183 350.1);
Tailwind
colors: {
  custom: {
    50: '#d074a2',
    500: '#b5307c',
    950: '#000000',
  },
}
SCSS
$custom: #b5307c;
$custom-light: #d074a2;
$custom-dark: #000000;
JSON
{
  "hex": "#b5307c",
  "rgb": {
    "r": 181,
    "g": 48,
    "b": 124
  },
  "hsl": {
    "h": 325.714,
    "s": 58.079,
    "l": 44.902
  },
  "oklch": {
    "l": 0.5359,
    "c": 0.1833,
    "h": 350.1
  },
  "luminance": 0.13393
}

Semantic roles & 50–950 ramp

primary
#B5307C
secondary
#7AC79B
accent
#E18946
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090F
muted
#837B7E

Preview Lab

Preview with #B5307C

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

Preview Lab → · Contrast checker → · Palette generator →

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