#B5265F#B5265F

#B5265F is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.8% C 0.182 H 2.5°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#B5265F
RGBrgb(181, 38, 95)
HSLhsl(336, 65%, 43%)
HSVhsv(336, 79%, 71%)
CMYKcmyk(0%, 79%, 47.5%, 29%)
CIE-LABlab(41.28, 59.25, 2.87)
CIE-LCHlch(41.28, 59.32, 2.77°)
OKLaboklab(51.76% 0.1818 0.008)
OKLCHoklch(51.76% 0.182 2.5)
XYZxyz(21.8166, 12.0392, 11.9992)
Luminance0.1204 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5265F #26B57C
analogous
#B526A6 #B5265F #B53426
triadic
#B5265F #5FB526 #265FB5
tetradic
#B5265F #A6B526 #26B57C #3426B5
square
#B5265F #A6B526 #26B57C #3426B5
split-complementary
#B5265F #26B534 #26A6B5
monochromatic
#50112A #821B44 #B5265F #D7417D #E274A0

Accessibility & contrast

On white

6.16
#B5265F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#B5265F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B5265F
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5265F#FFFFFF#000000##FFFFFF
##B5265F1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495060
Deuteranopia (green-blind)
#6F6B5C
Tritanopia (blue-blind)
#C5003F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b5265f;
/* rgb */ color: rgb(181, 38, 95);
/* oklch */ color: oklch(51.8% 0.182 2.5);
Tailwind
colors: {
  custom: {
    50: '#d16f8c',
    500: '#b5265f',
    950: '#000000',
  },
}
SCSS
$custom: #b5265f;
$custom-light: #d16f8c;
$custom-dark: #000000;
JSON
{
  "hex": "#b5265f",
  "rgb": {
    "r": 181,
    "g": 38,
    "b": 95
  },
  "hsl": {
    "h": 336.084,
    "s": 65.297,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51755,
    "c": 0.18195,
    "h": 2.5
  },
  "luminance": 0.12036
}

Semantic roles & 50–950 ramp

primary
#B5265F
secondary
#6EC9A5
accent
#E8A540
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15080C
muted
#837B7D

Preview Lab

Preview with #B5265F

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

Preview Lab → · Contrast checker → · Palette generator →

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