#B3154E#B3154E

#B3154E is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.9% C 0.189 H 8.0°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#B3154E
RGBrgb(179, 21, 78)
HSLhsl(338, 79%, 39%)
HSVhsv(338, 88%, 70%)
CMYKcmyk(0%, 88.3%, 56.4%, 29.8%)
CIE-LABlab(39.02, 61.38, 10.41)
CIE-LCHlch(39.02, 62.26, 9.62°)
OKLaboklab(49.88% 0.187 0.0264)
OKLCHoklch(49.88% 0.189 8)
XYZxyz(20.2358, 10.6732, 8.2009)
Luminance0.1067 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3154E #15B37A
analogous
#B3159D #B3154E #B32B15
triadic
#B3154E #4EB315 #154EB3
tetradic
#B3154E #9DB315 #15B37A #2B15B3
square
#B3154E #9DB315 #15B37A #2B15B3
split-complementary
#B3154E #15B32B #159DB3
monochromatic
#45081E #7C0F36 #B3154E #E52067 #EB578D

Accessibility & contrast

On white

6.70
#B3154E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#B3154E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B3154E
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3154E#FFFFFF#000000##FFFFFF
##B3154E1.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46484F
Deuteranopia (green-blind)
#6E674A
Tritanopia (blue-blind)
#C40031
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #b3154e;
/* rgb */ color: rgb(179, 21, 78);
/* oklch */ color: oklch(49.9% 0.189 8.0);
Tailwind
colors: {
  custom: {
    50: '#d1697f',
    500: '#b3154e',
    950: '#000000',
  },
}
SCSS
$custom: #b3154e;
$custom-light: #d1697f;
$custom-dark: #000000;
JSON
{
  "hex": "#b3154e",
  "rgb": {
    "r": 179,
    "g": 21,
    "b": 78
  },
  "hsl": {
    "h": 338.354,
    "s": 79,
    "l": 39.216
  },
  "oklch": {
    "l": 0.49884,
    "c": 0.18889,
    "h": 8
  },
  "luminance": 0.1067
}

Semantic roles & 50–950 ramp

primary
#B3154E
secondary
#56CEA3
accent
#F5AF32
background
#FDF6F7
surface
#FBECEE
border
#D4C7C9
text
#15070A
muted
#837A7C

Preview Lab

Preview with #B3154E

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

Preview Lab → · Contrast checker → · Palette generator →

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