#B4275F#B4275F

#B4275F is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.7% C 0.180 H 2.4°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#B4275F
RGBrgb(180, 39, 95)
HSLhsl(336, 64%, 43%)
HSVhsv(336, 78%, 71%)
CMYKcmyk(0%, 78.3%, 47.2%, 29.4%)
CIE-LABlab(41.19, 58.69, 2.72)
CIE-LCHlch(41.19, 58.75, 2.65°)
OKLaboklab(51.66% 0.18 0.0076)
OKLCHoklch(51.66% 0.18 2.4)
XYZxyz(21.6153, 11.9835, 11.9991)
Luminance0.1198 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4275F #27B47C
analogous
#B427A6 #B4275F #B43527
triadic
#B4275F #5FB427 #275FB4
tetradic
#B4275F #A6B427 #27B47C #3527B4
square
#B4275F #A6B427 #27B47C #3527B4
split-complementary
#B4275F #27B435 #27A6B4
monochromatic
#4F112A #821C44 #B4275F #D6427D #E174A0

Accessibility & contrast

On white

6.18
#B4275F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#B4275F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4275F
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4275F#FFFFFF#000000##FFFFFF
##B4275F1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495060
Deuteranopia (green-blind)
#6F6B5C
Tritanopia (blue-blind)
#C40040
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b4275f;
/* rgb */ color: rgb(180, 39, 95);
/* oklch */ color: oklch(51.7% 0.180 2.4);
Tailwind
colors: {
  custom: {
    50: '#d0708c',
    500: '#b4275f',
    950: '#000000',
  },
}
SCSS
$custom: #b4275f;
$custom-light: #d0708c;
$custom-dark: #000000;
JSON
{
  "hex": "#b4275f",
  "rgb": {
    "r": 180,
    "g": 39,
    "b": 95
  },
  "hsl": {
    "h": 336.17,
    "s": 64.384,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51656,
    "c": 0.18019,
    "h": 2.4
  },
  "luminance": 0.11981
}

Semantic roles & 50–950 ramp

primary
#B4275F
secondary
#6FC8A5
accent
#E7A540
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15080C
muted
#837B7D

Preview Lab

Preview with #B4275F

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

Preview Lab → · Contrast checker → · Palette generator →

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