#B1275E#B1275E

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

Color values

HEX#B1275E
RGBrgb(177, 39, 94)
HSLhsl(336, 64%, 42%)
HSVhsv(336, 78%, 69%)
CMYKcmyk(0%, 78%, 46.9%, 30.6%)
CIE-LABlab(40.59, 57.78, 2.40)
CIE-LCHlch(40.59, 57.83, 2.38°)
OKLaboklab(51.1% 0.1773 0.0068)
OKLCHoklch(51.1% 0.177 2.2)
XYZxyz(20.8791, 11.6091, 11.7288)
Luminance0.1161 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1275E #27B17A
analogous
#B127A3 #B1275E #B13527
triadic
#B1275E #5EB127 #275EB1
tetradic
#B1275E #A3B127 #27B17A #3527B1
square
#B1275E #A3B127 #27B17A #3527B1
split-complementary
#B1275E #27B135 #27A3B1
monochromatic
#4D1129 #7F1C43 #B1275E #D5407C #E0729E

Accessibility & contrast

On white

6.32
#B1275E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#B1275E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B1275E
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1275E#FFFFFF#000000##FFFFFF
##B1275E1.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484F5F
Deuteranopia (green-blind)
#6D695B
Tritanopia (blue-blind)
#C1033F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b1275e;
/* rgb */ color: rgb(177, 39, 94);
/* oklch */ color: oklch(51.1% 0.177 2.2);
Tailwind
colors: {
  custom: {
    50: '#ce6f8b',
    500: '#b1275e',
    950: '#000000',
  },
}
SCSS
$custom: #b1275e;
$custom-light: #ce6f8b;
$custom-dark: #000000;
JSON
{
  "hex": "#b1275e",
  "rgb": {
    "r": 177,
    "g": 39,
    "b": 94
  },
  "hsl": {
    "h": 336.087,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.51101,
    "c": 0.17738,
    "h": 2.2
  },
  "luminance": 0.11606
}

Semantic roles & 50–950 ramp

primary
#B1275E
secondary
#6DC7A3
accent
#E7A541
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#15080C
muted
#837B7D

Preview Lab

Preview with #B1275E

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

Preview Lab → · Contrast checker → · Palette generator →

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