#B5307F#B5307F

#B5307F is a mid, vivid pink. Relative luminance 0.135; OKLCH L 53.7% C 0.185 H 348.7°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#B5307F
RGBrgb(181, 48, 127)
HSLhsl(324, 58%, 45%)
HSVhsv(324, 73%, 71%)
CMYKcmyk(0%, 73.5%, 29.8%, 29%)
CIE-LABlab(43.47, 59.46, -13.78)
CIE-LCHlch(43.47, 61.04, 346.95°)
OKLaboklab(53.71% 0.1813 -0.0361)
OKLCHoklch(53.71% 0.185 348.7)
XYZxyz(23.9450, 13.4727, 21.4140)
Luminance0.1347 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5307F #30B566
analogous
#A930B5 #B5307F #B5303C
triadic
#B5307F #7FB530 #307FB5
tetradic
#B5307F #B5A930 #30B566 #303CB5
square
#B5307F #B5A930 #30B566 #303CB5
split-complementary
#B5307F #3CB530 #30B5A9
monochromatic
#54163B #85235D #B5307F #D1519D #DE82B8

Accessibility & contrast

On white

5.68
#B5307F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#B5307F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B5307F
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5307F#FFFFFF#000000##FFFFFF
##B5307F1.005.683.695.68
#FFFFFF5.681.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445881
Deuteranopia (green-blind)
#6B6F7C
Tritanopia (blue-blind)
#C22953
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b5307f;
/* rgb */ color: rgb(181, 48, 127);
/* oklch */ color: oklch(53.7% 0.185 348.7);
Tailwind
colors: {
  custom: {
    50: '#cf74a4',
    500: '#b5307f',
    950: '#000000',
  },
}
SCSS
$custom: #b5307f;
$custom-light: #cf74a4;
$custom-dark: #000000;
JSON
{
  "hex": "#b5307f",
  "rgb": {
    "r": 181,
    "g": 48,
    "b": 127
  },
  "hsl": {
    "h": 324.361,
    "s": 58.079,
    "l": 44.902
  },
  "oklch": {
    "l": 0.5371,
    "c": 0.18487,
    "h": 348.7
  },
  "luminance": 0.1347
}

Semantic roles & 50–950 ramp

primary
#B5307F
secondary
#7AC799
accent
#E18546
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14090F
muted
#837B7F

Preview Lab

Preview with #B5307F

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

Preview Lab → · Contrast checker → · Palette generator →

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