#B1275F#B1275F

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

Color values

HEX#B1275F
RGBrgb(177, 39, 95)
HSLhsl(336, 64%, 42%)
HSVhsv(336, 78%, 69%)
CMYKcmyk(0%, 78%, 46.3%, 30.6%)
CIE-LABlab(40.62, 57.87, 1.82)
CIE-LCHlch(40.62, 57.90, 1.80°)
OKLaboklab(51.13% 0.1776 0.0053)
OKLCHoklch(51.13% 0.178 1.7)
XYZxyz(20.9243, 11.6272, 11.9667)
Luminance0.1162 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1275F #27B179
analogous
#B127A4 #B1275F #B13427
triadic
#B1275F #5FB127 #275FB1
tetradic
#B1275F #A4B127 #27B179 #3427B1
square
#B1275F #A4B127 #27B179 #3427B1
split-complementary
#B1275F #27B134 #27A4B1
monochromatic
#4D1129 #7F1C44 #B1275F #D5407D #E0729F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B1275F#FFFFFF#000000##FFFFFF
##B1275F1.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)
#484F60
Deuteranopia (green-blind)
#6D695C
Tritanopia (blue-blind)
#C00440
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b1275f;
/* rgb */ color: rgb(177, 39, 95);
/* oklch */ color: oklch(51.1% 0.178 1.7);
Tailwind
colors: {
  custom: {
    50: '#ce6f8c',
    500: '#b1275f',
    950: '#000000',
  },
}
SCSS
$custom: #b1275f;
$custom-light: #ce6f8c;
$custom-dark: #000000;
JSON
{
  "hex": "#b1275f",
  "rgb": {
    "r": 177,
    "g": 39,
    "b": 95
  },
  "hsl": {
    "h": 335.652,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.51132,
    "c": 0.17768,
    "h": 1.7
  },
  "luminance": 0.11624
}

Semantic roles & 50–950 ramp

primary
#B1275F
secondary
#6DC7A2
accent
#E7A441
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#15080C
muted
#837B7D

Preview Lab

Preview with #B1275F

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

Preview Lab → · Contrast checker → · Palette generator →

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