#B9335F#B9335F

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

Color values

HEX#B9335F
RGBrgb(185, 51, 95)
HSLhsl(340, 57%, 46%)
HSVhsv(340, 72%, 73%)
CMYKcmyk(0%, 72.4%, 48.6%, 27.5%)
CIE-LABlab(43.52, 56.17, 6.19)
CIE-LCHlch(43.52, 56.51, 6.29°)
OKLaboklab(53.55% 0.1716 0.0163)
OKLCHoklch(53.55% 0.172 5.4)
XYZxyz(23.2589, 13.5113, 12.2074)
Luminance0.1351 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9335F #33B98D
analogous
#B933A2 #B9335F #B94A33
triadic
#B9335F #5FB933 #335FB9
tetradic
#B9335F #A2B933 #33B98D #4A33B9
square
#B9335F #A2B933 #33B98D #4A33B9
split-complementary
#B9335F #33B94A #33A2B9
monochromatic
#59192E #892646 #B9335F #D15880 #DE88A4

Accessibility & contrast

On white

5.67
#B9335F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B9335F
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9335F#FFFFFF#000000##FFFFFF
##B9335F1.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#525660
Deuteranopia (green-blind)
#76705C
Tritanopia (blue-blind)
#C91945
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b9335f;
/* rgb */ color: rgb(185, 51, 95);
/* oklch */ color: oklch(53.5% 0.172 5.4);
Tailwind
colors: {
  custom: {
    50: '#d4758c',
    500: '#b9335f',
    950: '#000000',
  },
}
SCSS
$custom: #b9335f;
$custom-light: #d4758c;
$custom-dark: #000000;
JSON
{
  "hex": "#b9335f",
  "rgb": {
    "r": 185,
    "g": 51,
    "b": 95
  },
  "hsl": {
    "h": 340.299,
    "s": 56.78,
    "l": 46.275
  },
  "oklch": {
    "l": 0.53546,
    "c": 0.17236,
    "h": 5.4
  },
  "luminance": 0.13508
}

Semantic roles & 50–950 ramp

primary
#B9335F
secondary
#80C8B0
accent
#E0AE48
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090C
muted
#837B7D

Preview Lab

Preview with #B9335F

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

Preview Lab → · Contrast checker → · Palette generator →

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