#B5295D#B5295D

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

Color values

HEX#B5295D
RGBrgb(181, 41, 93)
HSLhsl(338, 63%, 44%)
HSVhsv(338, 77%, 71%)
CMYKcmyk(0%, 77.3%, 48.6%, 29%)
CIE-LABlab(41.54, 58.18, 4.50)
CIE-LCHlch(41.54, 58.36, 4.42°)
OKLaboklab(51.93% 0.1782 0.0121)
OKLCHoklch(51.93% 0.179 3.9)
XYZxyz(21.8266, 12.2029, 11.5599)
Luminance0.1220 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5295D #29B581
analogous
#B529A3 #B5295D #B53B29
triadic
#B5295D #5DB529 #295DB5
tetradic
#B5295D #A3B529 #29B581 #3B29B5
square
#B5295D #A3B529 #29B581 #3B29B5
split-complementary
#B5295D #29B53B #29A3B5
monochromatic
#51122A #831E43 #B5295D #D5467B #E0789F

Accessibility & contrast

On white

6.10
#B5295D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#B5295D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B5295D
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5295D#FFFFFF#000000##FFFFFF
##B5295D1.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B505E
Deuteranopia (green-blind)
#716C5A
Tritanopia (blue-blind)
#C50240
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b5295d;
/* rgb */ color: rgb(181, 41, 93);
/* oklch */ color: oklch(51.9% 0.179 3.9);
Tailwind
colors: {
  custom: {
    50: '#d1708a',
    500: '#b5295d',
    950: '#000000',
  },
}
SCSS
$custom: #b5295d;
$custom-light: #d1708a;
$custom-dark: #000000;
JSON
{
  "hex": "#b5295d",
  "rgb": {
    "r": 181,
    "g": 41,
    "b": 93
  },
  "hsl": {
    "h": 337.714,
    "s": 63.063,
    "l": 43.529
  },
  "oklch": {
    "l": 0.51927,
    "c": 0.1786,
    "h": 3.9
  },
  "luminance": 0.122
}

Semantic roles & 50–950 ramp

primary
#B5295D
secondary
#72C8A8
accent
#E6A942
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15080B
muted
#837B7C

Preview Lab

Preview with #B5295D

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

Preview Lab → · Contrast checker → · Palette generator →

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