#B5295F#B5295F

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

Color values

HEX#B5295F
RGBrgb(181, 41, 95)
HSLhsl(337, 63%, 44%)
HSVhsv(337, 77%, 71%)
CMYKcmyk(0%, 77.3%, 47.5%, 29%)
CIE-LABlab(41.59, 58.36, 3.32)
CIE-LCHlch(41.59, 58.45, 3.26°)
OKLaboklab(51.99% 0.1789 0.0091)
OKLCHoklch(51.99% 0.179 2.9)
XYZxyz(21.9164, 12.2388, 12.0325)
Luminance0.1224 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5295F #29B57F
analogous
#B529A5 #B5295F #B53929
triadic
#B5295F #5FB529 #295FB5
tetradic
#B5295F #A5B529 #29B57F #3929B5
square
#B5295F #A5B529 #29B57F #3929B5
split-complementary
#B5295F #29B539 #29A5B5
monochromatic
#51122B #831E45 #B5295F #D5467D #E078A0

Accessibility & contrast

On white

6.09
#B5295F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#B5295F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B5295F
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5295F#FFFFFF#000000##FFFFFF
##B5295F1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5160
Deuteranopia (green-blind)
#706C5C
Tritanopia (blue-blind)
#C50441
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b5295f;
/* rgb */ color: rgb(181, 41, 95);
/* oklch */ color: oklch(52.0% 0.179 2.9);
Tailwind
colors: {
  custom: {
    50: '#d1718c',
    500: '#b5295f',
    950: '#000000',
  },
}
SCSS
$custom: #b5295f;
$custom-light: #d1718c;
$custom-dark: #000000;
JSON
{
  "hex": "#b5295f",
  "rgb": {
    "r": 181,
    "g": 41,
    "b": 95
  },
  "hsl": {
    "h": 336.857,
    "s": 63.063,
    "l": 43.529
  },
  "oklch": {
    "l": 0.51987,
    "c": 0.17913,
    "h": 2.9
  },
  "luminance": 0.12236
}

Semantic roles & 50–950 ramp

primary
#B5295F
secondary
#72C8A7
accent
#E6A742
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15080C
muted
#837B7D

Preview Lab

Preview with #B5295F

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

Preview Lab → · Contrast checker → · Palette generator →

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