#B3335B#B3335B

#B3335B is a mid, vivid pink. Relative luminance 0.127; OKLCH L 52.4% C 0.166 H 6.2°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#B3335B
RGBrgb(179, 51, 91)
HSLhsl(341, 56%, 45%)
HSVhsv(341, 72%, 70%)
CMYKcmyk(0%, 71.5%, 49.2%, 29.8%)
CIE-LABlab(42.32, 54.04, 6.82)
CIE-LCHlch(42.32, 54.47, 7.20°)
OKLaboklab(52.42% 0.1649 0.0179)
OKLCHoklch(52.42% 0.166 6.2)
XYZxyz(21.6644, 12.7096, 11.2079)
Luminance0.1271 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3335B #33B38B
analogous
#B3339B #B3335B #B34B33
triadic
#B3335B #5BB333 #335BB3
tetradic
#B3335B #9BB333 #33B38B #4B33B3
square
#B3335B #9BB333 #33B38B #4B33B3
split-complementary
#B3335B #33B34B #339BB3
monochromatic
#54182B #832543 #B3335B #CE557B #DC84A0

Accessibility & contrast

On white

5.93
#B3335B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#B3335B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B3335B
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3335B#FFFFFF#000000##FFFFFF
##B3335B1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51545C
Deuteranopia (green-blind)
#736D58
Tritanopia (blue-blind)
#C31B43
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b3335b;
/* rgb */ color: rgb(179, 51, 91);
/* oklch */ color: oklch(52.4% 0.166 6.2);
Tailwind
colors: {
  custom: {
    50: '#cf7489',
    500: '#b3335b',
    950: '#000000',
  },
}
SCSS
$custom: #b3335b;
$custom-light: #cf7489;
$custom-dark: #000000;
JSON
{
  "hex": "#b3335b",
  "rgb": {
    "r": 179,
    "g": 51,
    "b": 91
  },
  "hsl": {
    "h": 341.25,
    "s": 55.652,
    "l": 45.098
  },
  "oklch": {
    "l": 0.52421,
    "c": 0.16584,
    "h": 6.2
  },
  "luminance": 0.12707
}

Semantic roles & 50–950 ramp

primary
#B3335B
secondary
#7CC6AF
accent
#DFB049
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#15090B
muted
#837B7C

Preview Lab

Preview with #B3335B

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

Preview Lab → · Contrast checker → · Palette generator →

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