#B5295B#B5295B

#B5295B is a mid, vivid pink. Relative luminance 0.122; OKLCH L 51.9% C 0.178 H 4.8°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#B5295B
RGBrgb(181, 41, 91)
HSLhsl(339, 63%, 44%)
HSVhsv(339, 77%, 71%)
CMYKcmyk(0%, 77.3%, 49.7%, 29%)
CIE-LABlab(41.48, 58.01, 5.68)
CIE-LCHlch(41.48, 58.29, 5.59°)
OKLaboklab(51.87% 0.1775 0.015)
OKLCHoklch(51.87% 0.178 4.8)
XYZxyz(21.7392, 12.1680, 11.0994)
Luminance0.1216 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5295B #29B583
analogous
#B529A1 #B5295B #B53D29
triadic
#B5295B #5BB529 #295BB5
tetradic
#B5295B #A1B529 #29B583 #3D29B5
square
#B5295B #A1B529 #29B583 #3D29B5
split-complementary
#B5295B #29B53D #29A1B5
monochromatic
#511229 #831E42 #B5295B #D54679 #E0789D

Accessibility & contrast

On white

6.12
#B5295B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#B5295B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B5295B
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5295B#FFFFFF#000000##FFFFFF
##B5295B1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C505C
Deuteranopia (green-blind)
#716C58
Tritanopia (blue-blind)
#C5003F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b5295b;
/* rgb */ color: rgb(181, 41, 91);
/* oklch */ color: oklch(51.9% 0.178 4.8);
Tailwind
colors: {
  custom: {
    50: '#d17089',
    500: '#b5295b',
    950: '#000000',
  },
}
SCSS
$custom: #b5295b;
$custom-light: #d17089;
$custom-dark: #000000;
JSON
{
  "hex": "#b5295b",
  "rgb": {
    "r": 181,
    "g": 41,
    "b": 91
  },
  "hsl": {
    "h": 338.571,
    "s": 63.063,
    "l": 43.529
  },
  "oklch": {
    "l": 0.51868,
    "c": 0.17811,
    "h": 4.8
  },
  "luminance": 0.12165
}

Semantic roles & 50–950 ramp

primary
#B5295B
secondary
#72C8A9
accent
#E6AB42
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15080B
muted
#837B7C

Preview Lab

Preview with #B5295B

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

Preview Lab → · Contrast checker → · Palette generator →

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