#B8335E#B8335E

#B8335E is a mid, vivid pink. Relative luminance 0.134; OKLCH L 53.3% C 0.171 H 5.7°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#B8335E
RGBrgb(184, 51, 94)
HSLhsl(341, 57%, 46%)
HSVhsv(341, 72%, 72%)
CMYKcmyk(0%, 72.3%, 48.9%, 27.8%)
CIE-LABlab(43.31, 55.79, 6.49)
CIE-LCHlch(43.31, 56.17, 6.63°)
OKLaboklab(53.35% 0.1704 0.0171)
OKLCHoklch(53.35% 0.171 5.7)
XYZxyz(22.9733, 13.3692, 11.9583)
Luminance0.1337 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8335E #33B88D
analogous
#B833A0 #B8335E #B84B33
triadic
#B8335E #5EB833 #335EB8
tetradic
#B8335E #A0B833 #33B88D #4B33B8
square
#B8335E #A0B833 #33B88D #4B33B8
split-complementary
#B8335E #33B84B #33A0B8
monochromatic
#58182D #882646 #B8335E #D1587F #DE88A3

Accessibility & contrast

On white

5.72
#B8335E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#B8335E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B8335E
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8335E#FFFFFF#000000##FFFFFF
##B8335E1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52565F
Deuteranopia (green-blind)
#75705B
Tritanopia (blue-blind)
#C81945
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b8335e;
/* rgb */ color: rgb(184, 51, 94);
/* oklch */ color: oklch(53.3% 0.171 5.7);
Tailwind
colors: {
  custom: {
    50: '#d3758b',
    500: '#b8335e',
    950: '#000000',
  },
}
SCSS
$custom: #b8335e;
$custom-light: #d3758b;
$custom-dark: #000000;
JSON
{
  "hex": "#b8335e",
  "rgb": {
    "r": 184,
    "g": 51,
    "b": 94
  },
  "hsl": {
    "h": 340.602,
    "s": 56.596,
    "l": 46.078
  },
  "oklch": {
    "l": 0.53349,
    "c": 0.1712,
    "h": 5.7
  },
  "luminance": 0.13366
}

Semantic roles & 50–950 ramp

primary
#B8335E
secondary
#7FC8B0
accent
#E0AF48
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090C
muted
#837B7D

Preview Lab

Preview with #B8335E

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

Preview Lab → · Contrast checker → · Palette generator →

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