#B1255D#B1255D

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

Color values

HEX#B1255D
RGBrgb(177, 37, 93)
HSLhsl(336, 65%, 42%)
HSVhsv(336, 79%, 69%)
CMYKcmyk(0%, 79.1%, 47.5%, 30.6%)
CIE-LABlab(40.35, 58.28, 2.69)
CIE-LCHlch(40.35, 58.34, 2.64°)
OKLaboklab(50.92% 0.1788 0.0075)
OKLCHoklch(50.92% 0.179 2.4)
XYZxyz(20.7706, 11.4634, 11.4727)
Luminance0.1146 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1255D #25B179
analogous
#B125A3 #B1255D #B13325
triadic
#B1255D #5DB125 #255DB1
tetradic
#B1255D #A3B125 #25B179 #3325B1
square
#B1255D #A3B125 #25B179 #3325B1
split-complementary
#B1255D #25B133 #25A3B1
monochromatic
#4C1028 #7E1A42 #B1255D #D63D7A #E16F9D

Accessibility & contrast

On white

6.38
#B1255D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B1255D
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1255D#FFFFFF#000000##FFFFFF
##B1255D1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484E5E
Deuteranopia (green-blind)
#6D695A
Tritanopia (blue-blind)
#C1003E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b1255d;
/* rgb */ color: rgb(177, 37, 93);
/* oklch */ color: oklch(50.9% 0.179 2.4);
Tailwind
colors: {
  custom: {
    50: '#ce6e8a',
    500: '#b1255d',
    950: '#000000',
  },
}
SCSS
$custom: #b1255d;
$custom-light: #ce6e8a;
$custom-dark: #000000;
JSON
{
  "hex": "#b1255d",
  "rgb": {
    "r": 177,
    "g": 37,
    "b": 93
  },
  "hsl": {
    "h": 336,
    "s": 65.421,
    "l": 41.961
  },
  "oklch": {
    "l": 0.50917,
    "c": 0.17896,
    "h": 2.4
  },
  "luminance": 0.11461
}

Semantic roles & 50–950 ramp

primary
#B1255D
secondary
#6AC8A2
accent
#E8A53F
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#15080B
muted
#837B7C

Preview Lab

Preview with #B1255D

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

Preview Lab → · Contrast checker → · Palette generator →

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