#B1255C#B1255C

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

Color values

HEX#B1255C
RGBrgb(177, 37, 92)
HSLhsl(336, 65%, 42%)
HSVhsv(336, 79%, 69%)
CMYKcmyk(0%, 79.1%, 48%, 30.6%)
CIE-LABlab(40.32, 58.19, 3.28)
CIE-LCHlch(40.32, 58.28, 3.23°)
OKLaboklab(50.89% 0.1785 0.009)
OKLCHoklch(50.89% 0.179 2.9)
XYZxyz(20.7266, 11.4458, 11.2410)
Luminance0.1144 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1255C #25B17A
analogous
#B125A2 #B1255C #B13425
triadic
#B1255C #5CB125 #255CB1
tetradic
#B1255C #A2B125 #25B17A #3425B1
square
#B1255C #A2B125 #25B17A #3425B1
split-complementary
#B1255C #25B134 #25A2B1
monochromatic
#4C1027 #7E1A42 #B1255C #D63D79 #E16F9C

Accessibility & contrast

On white

6.39
#B1255C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#B1255C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B1255C
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1255C#FFFFFF#000000##FFFFFF
##B1255C1.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484E5D
Deuteranopia (green-blind)
#6D6959
Tritanopia (blue-blind)
#C1003D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b1255c;
/* rgb */ color: rgb(177, 37, 92);
/* oklch */ color: oklch(50.9% 0.179 2.9);
Tailwind
colors: {
  custom: {
    50: '#ce6e89',
    500: '#b1255c',
    950: '#000000',
  },
}
SCSS
$custom: #b1255c;
$custom-light: #ce6e89;
$custom-dark: #000000;
JSON
{
  "hex": "#b1255c",
  "rgb": {
    "r": 177,
    "g": 37,
    "b": 92
  },
  "hsl": {
    "h": 336.429,
    "s": 65.421,
    "l": 41.961
  },
  "oklch": {
    "l": 0.50886,
    "c": 0.17868,
    "h": 2.9
  },
  "luminance": 0.11443
}

Semantic roles & 50–950 ramp

primary
#B1255C
secondary
#6AC8A3
accent
#E8A63F
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#15080B
muted
#837B7C

Preview Lab

Preview with #B1255C

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

Preview Lab → · Contrast checker → · Palette generator →

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