#B5307D#B5307D

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

Color values

HEX#B5307D
RGBrgb(181, 48, 125)
HSLhsl(325, 58%, 45%)
HSVhsv(325, 73%, 71%)
CMYKcmyk(0%, 73.5%, 30.9%, 29%)
CIE-LABlab(43.39, 59.22, -12.67)
CIE-LCHlch(43.39, 60.56, 347.93°)
OKLaboklab(53.63% 0.1808 -0.0331)
OKLCHoklch(53.63% 0.184 349.6)
XYZxyz(23.8159, 13.4210, 20.7344)
Luminance0.1342 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5307D #30B568
analogous
#AB30B5 #B5307D #B5303B
triadic
#B5307D #7DB530 #307DB5
tetradic
#B5307D #B5AB30 #30B568 #303BB5
square
#B5307D #B5AB30 #30B568 #303BB5
split-complementary
#B5307D #3BB530 #30B5AB
monochromatic
#54163A #85235C #B5307D #D1519B #DE82B7

Accessibility & contrast

On white

5.70
#B5307D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B5307D
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5307D#FFFFFF#000000##FFFFFF
##B5307D1.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45587F
Deuteranopia (green-blind)
#6B6F7A
Tritanopia (blue-blind)
#C22852
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b5307d;
/* rgb */ color: rgb(181, 48, 125);
/* oklch */ color: oklch(53.6% 0.184 349.6);
Tailwind
colors: {
  custom: {
    50: '#d074a2',
    500: '#b5307d',
    950: '#000000',
  },
}
SCSS
$custom: #b5307d;
$custom-light: #d074a2;
$custom-dark: #000000;
JSON
{
  "hex": "#b5307d",
  "rgb": {
    "r": 181,
    "g": 48,
    "b": 125
  },
  "hsl": {
    "h": 325.263,
    "s": 58.079,
    "l": 44.902
  },
  "oklch": {
    "l": 0.5363,
    "c": 0.18381,
    "h": 349.6
  },
  "luminance": 0.13418
}

Semantic roles & 50–950 ramp

primary
#B5307D
secondary
#7AC79A
accent
#E18846
background
#FDF7FA
surface
#FAEDF3
border
#D3C8CD
text
#14090F
muted
#837B7F

Preview Lab

Preview with #B5307D

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

Preview Lab → · Contrast checker → · Palette generator →

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