#B1275D#B1275D

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

Color values

HEX#B1275D
RGBrgb(177, 39, 93)
HSLhsl(337, 64%, 42%)
HSVhsv(337, 78%, 69%)
CMYKcmyk(0%, 78%, 47.5%, 30.6%)
CIE-LABlab(40.56, 57.69, 2.99)
CIE-LCHlch(40.56, 57.76, 2.97°)
OKLaboklab(51.07% 0.1769 0.0083)
OKLCHoklch(51.07% 0.177 2.7)
XYZxyz(20.8345, 11.5913, 11.4940)
Luminance0.1159 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1275D #27B17B
analogous
#B127A2 #B1275D #B13627
triadic
#B1275D #5DB127 #275DB1
tetradic
#B1275D #A2B127 #27B17B #3627B1
square
#B1275D #A2B127 #27B17B #3627B1
split-complementary
#B1275D #27B136 #27A2B1
monochromatic
#4D1128 #7F1C43 #B1275D #D5407A #E0729D

Accessibility & contrast

On white

6.33
#B1275D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B1275D
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1275D#FFFFFF#000000##FFFFFF
##B1275D1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494E5E
Deuteranopia (green-blind)
#6D695A
Tritanopia (blue-blind)
#C1023F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b1275d;
/* rgb */ color: rgb(177, 39, 93);
/* oklch */ color: oklch(51.1% 0.177 2.7);
Tailwind
colors: {
  custom: {
    50: '#ce6f8a',
    500: '#b1275d',
    950: '#000000',
  },
}
SCSS
$custom: #b1275d;
$custom-light: #ce6f8a;
$custom-dark: #000000;
JSON
{
  "hex": "#b1275d",
  "rgb": {
    "r": 177,
    "g": 39,
    "b": 93
  },
  "hsl": {
    "h": 336.522,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.5107,
    "c": 0.17709,
    "h": 2.7
  },
  "luminance": 0.11588
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B1275D

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

Preview Lab → · Contrast checker → · Palette generator →

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