#B3335C#B3335C

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

Color values

HEX#B3335C
RGBrgb(179, 51, 92)
HSLhsl(341, 56%, 45%)
HSVhsv(341, 72%, 70%)
CMYKcmyk(0%, 71.5%, 48.6%, 29.8%)
CIE-LABlab(42.35, 54.13, 6.24)
CIE-LCHlch(42.35, 54.48, 6.57°)
OKLaboklab(52.45% 0.1652 0.0164)
OKLCHoklch(52.45% 0.166 5.7)
XYZxyz(21.7078, 12.7269, 11.4366)
Luminance0.1272 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3335C #33B38A
analogous
#B3339C #B3335C #B34A33
triadic
#B3335C #5CB333 #335CB3
tetradic
#B3335C #9CB333 #33B38A #4A33B3
square
#B3335C #9CB333 #33B38A #4A33B3
split-complementary
#B3335C #33B34A #339CB3
monochromatic
#54182B #832544 #B3335C #CE557C #DC84A0

Accessibility & contrast

On white

5.92
#B3335C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B3335C
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3335C#FFFFFF#000000##FFFFFF
##B3335C1.005.923.545.92
#FFFFFF5.921.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51545D
Deuteranopia (green-blind)
#726D59
Tritanopia (blue-blind)
#C31B44
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b3335c;
/* rgb */ color: rgb(179, 51, 92);
/* oklch */ color: oklch(52.4% 0.166 5.7);
Tailwind
colors: {
  custom: {
    50: '#cf7589',
    500: '#b3335c',
    950: '#000000',
  },
}
SCSS
$custom: #b3335c;
$custom-light: #cf7589;
$custom-dark: #000000;
JSON
{
  "hex": "#b3335c",
  "rgb": {
    "r": 179,
    "g": 51,
    "b": 92
  },
  "hsl": {
    "h": 340.781,
    "s": 55.652,
    "l": 45.098
  },
  "oklch": {
    "l": 0.52449,
    "c": 0.16606,
    "h": 5.7
  },
  "luminance": 0.12724
}

Semantic roles & 50–950 ramp

primary
#B3335C
secondary
#7CC6AE
accent
#DFAF49
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#15090B
muted
#837B7C

Preview Lab

Preview with #B3335C

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

Preview Lab → · Contrast checker → · Palette generator →

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