#B1275C#B1275C

#B1275C is a mid, vivid pink. Relative luminance 0.116; OKLCH L 51.0% C 0.177 H 3.2°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#B1275C
RGBrgb(177, 39, 92)
HSLhsl(337, 64%, 42%)
HSVhsv(337, 78%, 69%)
CMYKcmyk(0%, 78%, 48%, 30.6%)
CIE-LABlab(40.53, 57.60, 3.58)
CIE-LCHlch(40.53, 57.71, 3.56°)
OKLaboklab(51.04% 0.1765 0.0098)
OKLCHoklch(51.04% 0.177 3.2)
XYZxyz(20.7905, 11.5737, 11.2623)
Luminance0.1157 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1275C #27B17C
analogous
#B127A1 #B1275C #B13727
triadic
#B1275C #5CB127 #275CB1
tetradic
#B1275C #A1B127 #27B17C #3727B1
square
#B1275C #A1B127 #27B17C #3727B1
split-complementary
#B1275C #27B137 #27A1B1
monochromatic
#4D1128 #7F1C42 #B1275C #D54079 #E0729C

Accessibility & contrast

On white

6.34
#B1275C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#B1275C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B1275C
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1275C#FFFFFF#000000##FFFFFF
##B1275C1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494E5D
Deuteranopia (green-blind)
#6E6959
Tritanopia (blue-blind)
#C1013E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b1275c;
/* rgb */ color: rgb(177, 39, 92);
/* oklch */ color: oklch(51.0% 0.177 3.2);
Tailwind
colors: {
  custom: {
    50: '#ce6f89',
    500: '#b1275c',
    950: '#000000',
  },
}
SCSS
$custom: #b1275c;
$custom-light: #ce6f89;
$custom-dark: #000000;
JSON
{
  "hex": "#b1275c",
  "rgb": {
    "r": 177,
    "g": 39,
    "b": 92
  },
  "hsl": {
    "h": 336.957,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.5104,
    "c": 0.17681,
    "h": 3.2
  },
  "luminance": 0.11571
}

Semantic roles & 50–950 ramp

primary
#B1275C
secondary
#6DC7A4
accent
#E7A741
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#15080B
muted
#837B7C

Preview Lab

Preview with #B1275C

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

Preview Lab → · Contrast checker → · Palette generator →

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