#B5295C#B5295C

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

Color values

HEX#B5295C
RGBrgb(181, 41, 92)
HSLhsl(338, 63%, 44%)
HSVhsv(338, 77%, 71%)
CMYKcmyk(0%, 77.3%, 49.2%, 29%)
CIE-LABlab(41.51, 58.10, 5.09)
CIE-LCHlch(41.51, 58.32, 5.01°)
OKLaboklab(51.9% 0.1778 0.0136)
OKLCHoklch(51.9% 0.178 4.4)
XYZxyz(21.7826, 12.1853, 11.3281)
Luminance0.1218 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5295C #29B582
analogous
#B529A2 #B5295C #B53C29
triadic
#B5295C #5CB529 #295CB5
tetradic
#B5295C #A2B529 #29B582 #3C29B5
square
#B5295C #A2B529 #29B582 #3C29B5
split-complementary
#B5295C #29B53C #29A2B5
monochromatic
#511229 #831E43 #B5295C #D5467A #E0789E

Accessibility & contrast

On white

6.11
#B5295C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B5295C
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5295C#FFFFFF#000000##FFFFFF
##B5295C1.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C505D
Deuteranopia (green-blind)
#716C59
Tritanopia (blue-blind)
#C5013F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b5295c;
/* rgb */ color: rgb(181, 41, 92);
/* oklch */ color: oklch(51.9% 0.178 4.4);
Tailwind
colors: {
  custom: {
    50: '#d17089',
    500: '#b5295c',
    950: '#000000',
  },
}
SCSS
$custom: #b5295c;
$custom-light: #d17089;
$custom-dark: #000000;
JSON
{
  "hex": "#b5295c",
  "rgb": {
    "r": 181,
    "g": 41,
    "b": 92
  },
  "hsl": {
    "h": 338.143,
    "s": 63.063,
    "l": 43.529
  },
  "oklch": {
    "l": 0.51897,
    "c": 0.17835,
    "h": 4.4
  },
  "luminance": 0.12182
}

Semantic roles & 50–950 ramp

primary
#B5295C
secondary
#72C8A9
accent
#E6AA42
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15080B
muted
#837B7C

Preview Lab

Preview with #B5295C

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

Preview Lab → · Contrast checker → · Palette generator →

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