#B9335C#B9335C

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

Color values

HEX#B9335C
RGBrgb(185, 51, 92)
HSLhsl(342, 57%, 46%)
HSVhsv(342, 72%, 73%)
CMYKcmyk(0%, 72.4%, 50.3%, 27.5%)
CIE-LABlab(43.45, 55.91, 7.94)
CIE-LCHlch(43.45, 56.47, 8.09°)
OKLaboklab(53.46% 0.1705 0.0207)
OKLCHoklch(53.46% 0.172 6.9)
XYZxyz(23.1252, 13.4578, 11.5030)
Luminance0.1346 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9335C #33B990
analogous
#B9339F #B9335C #B94D33
triadic
#B9335C #5CB933 #335CB9
tetradic
#B9335C #9FB933 #33B990 #4D33B9
square
#B9335C #9FB933 #33B990 #4D33B9
split-complementary
#B9335C #33B94D #339FB9
monochromatic
#59192C #892644 #B9335C #D1587D #DE88A2

Accessibility & contrast

On white

5.69
#B9335C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#B9335C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B9335C
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9335C#FFFFFF#000000##FFFFFF
##B9335C1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#53565D
Deuteranopia (green-blind)
#767059
Tritanopia (blue-blind)
#CA1744
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b9335c;
/* rgb */ color: rgb(185, 51, 92);
/* oklch */ color: oklch(53.5% 0.172 6.9);
Tailwind
colors: {
  custom: {
    50: '#d47589',
    500: '#b9335c',
    950: '#000000',
  },
}
SCSS
$custom: #b9335c;
$custom-light: #d47589;
$custom-dark: #000000;
JSON
{
  "hex": "#b9335c",
  "rgb": {
    "r": 185,
    "g": 51,
    "b": 92
  },
  "hsl": {
    "h": 341.642,
    "s": 56.78,
    "l": 46.275
  },
  "oklch": {
    "l": 0.53462,
    "c": 0.17172,
    "h": 6.9
  },
  "luminance": 0.13455
}

Semantic roles & 50–950 ramp

primary
#B9335C
secondary
#80C8B2
accent
#E0B148
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090B
muted
#837B7C

Preview Lab

Preview with #B9335C

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

Preview Lab → · Contrast checker → · Palette generator →

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