#B4255C#B4255C

#B4255C is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.4% C 0.181 H 3.6°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#B4255C
RGBrgb(180, 37, 92)
HSLhsl(337, 66%, 43%)
HSVhsv(337, 79%, 71%)
CMYKcmyk(0%, 79.4%, 48.9%, 29.4%)
CIE-LABlab(40.90, 59.00, 4.19)
CIE-LCHlch(40.90, 59.15, 4.06°)
OKLaboklab(51.42% 0.1808 0.0113)
OKLCHoklch(51.42% 0.181 3.6)
XYZxyz(21.4176, 11.8021, 11.2734)
Luminance0.1180 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4255C #25B47D
analogous
#B425A4 #B4255C #B43525
triadic
#B4255C #5CB425 #255CB4
tetradic
#B4255C #A4B425 #25B47D #3525B4
square
#B4255C #A4B425 #25B47D #3525B4
split-complementary
#B4255C #25B435 #25A4B4
monochromatic
#4E1028 #811B42 #B4255C #D73F79 #E2719D

Accessibility & contrast

On white

6.25
#B4255C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#B4255C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4255C
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4255C#FFFFFF#000000##FFFFFF
##B4255C1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494F5D
Deuteranopia (green-blind)
#6F6A59
Tritanopia (blue-blind)
#C4003E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b4255c;
/* rgb */ color: rgb(180, 37, 92);
/* oklch */ color: oklch(51.4% 0.181 3.6);
Tailwind
colors: {
  custom: {
    50: '#d16f89',
    500: '#b4255c',
    950: '#000000',
  },
}
SCSS
$custom: #b4255c;
$custom-light: #d16f89;
$custom-dark: #000000;
JSON
{
  "hex": "#b4255c",
  "rgb": {
    "r": 180,
    "g": 37,
    "b": 92
  },
  "hsl": {
    "h": 336.923,
    "s": 65.899,
    "l": 42.549
  },
  "oklch": {
    "l": 0.51415,
    "c": 0.18119,
    "h": 3.6
  },
  "luminance": 0.11799
}

Semantic roles & 50–950 ramp

primary
#B4255C
secondary
#6CC9A5
accent
#E9A83F
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15080B
muted
#837B7C

Preview Lab

Preview with #B4255C

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

Preview Lab → · Contrast checker → · Palette generator →

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