#B9335E#B9335E

#B9335E is a mid, vivid pink. Relative luminance 0.135; OKLCH L 53.5% C 0.172 H 5.9°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#B9335E
RGBrgb(185, 51, 94)
HSLhsl(341, 57%, 46%)
HSVhsv(341, 72%, 73%)
CMYKcmyk(0%, 72.4%, 49.2%, 27.5%)
CIE-LABlab(43.50, 56.09, 6.77)
CIE-LCHlch(43.50, 56.49, 6.89°)
OKLaboklab(53.52% 0.1712 0.0178)
OKLCHoklch(53.52% 0.172 5.9)
XYZxyz(23.2137, 13.4932, 11.9696)
Luminance0.1349 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9335E #33B98E
analogous
#B933A1 #B9335E #B94B33
triadic
#B9335E #5EB933 #335EB9
tetradic
#B9335E #A1B933 #33B98E #4B33B9
square
#B9335E #A1B933 #33B98E #4B33B9
split-complementary
#B9335E #33B94B #33A1B9
monochromatic
#59192D #892646 #B9335E #D1587F #DE88A4

Accessibility & contrast

On white

5.68
#B9335E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#B9335E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B9335E
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9335E#FFFFFF#000000##FFFFFF
##B9335E1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#53565F
Deuteranopia (green-blind)
#76705B
Tritanopia (blue-blind)
#C91845
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b9335e;
/* rgb */ color: rgb(185, 51, 94);
/* oklch */ color: oklch(53.5% 0.172 5.9);
Tailwind
colors: {
  custom: {
    50: '#d4758b',
    500: '#b9335e',
    950: '#000000',
  },
}
SCSS
$custom: #b9335e;
$custom-light: #d4758b;
$custom-dark: #000000;
JSON
{
  "hex": "#b9335e",
  "rgb": {
    "r": 185,
    "g": 51,
    "b": 94
  },
  "hsl": {
    "h": 340.746,
    "s": 56.78,
    "l": 46.275
  },
  "oklch": {
    "l": 0.53517,
    "c": 0.17213,
    "h": 5.9
  },
  "luminance": 0.1349
}

Semantic roles & 50–950 ramp

primary
#B9335E
secondary
#80C8B1
accent
#E0AF48
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090C
muted
#837B7D

Preview Lab

Preview with #B9335E

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

Preview Lab → · Contrast checker → · Palette generator →

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