#B5307E#B5307E

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

Color values

HEX#B5307E
RGBrgb(181, 48, 126)
HSLhsl(325, 58%, 45%)
HSVhsv(325, 73%, 71%)
CMYKcmyk(0%, 73.5%, 30.4%, 29%)
CIE-LABlab(43.43, 59.34, -13.22)
CIE-LCHlch(43.43, 60.80, 347.44°)
OKLaboklab(53.67% 0.1811 -0.0346)
OKLCHoklch(53.67% 0.184 349.2)
XYZxyz(23.8801, 13.4467, 21.0725)
Luminance0.1344 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5307E #30B567
analogous
#AA30B5 #B5307E #B5303B
triadic
#B5307E #7EB530 #307EB5
tetradic
#B5307E #B5AA30 #30B567 #303BB5
square
#B5307E #B5AA30 #30B567 #303BB5
split-complementary
#B5307E #3BB530 #30B5AA
monochromatic
#54163B #85235C #B5307E #D1519C #DE82B8

Accessibility & contrast

On white

5.69
#B5307E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B5307E
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5307E#FFFFFF#000000##FFFFFF
##B5307E1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b5307e;
/* rgb */ color: rgb(181, 48, 126);
/* oklch */ color: oklch(53.7% 0.184 349.2);
Tailwind
colors: {
  custom: {
    50: '#d074a3',
    500: '#b5307e',
    950: '#000000',
  },
}
SCSS
$custom: #b5307e;
$custom-light: #d074a3;
$custom-dark: #000000;
JSON
{
  "hex": "#b5307e",
  "rgb": {
    "r": 181,
    "g": 48,
    "b": 126
  },
  "hsl": {
    "h": 324.812,
    "s": 58.079,
    "l": 44.902
  },
  "oklch": {
    "l": 0.5367,
    "c": 0.18433,
    "h": 349.2
  },
  "luminance": 0.13444
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B5307E

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

Preview Lab → · Contrast checker → · Palette generator →

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