#B3335F#B3335F

#B3335F is a mid, vivid pink. Relative luminance 0.128; OKLCH L 52.5% C 0.167 H 4.1°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#B3335F
RGBrgb(179, 51, 95)
HSLhsl(339, 56%, 45%)
HSVhsv(339, 72%, 70%)
CMYKcmyk(0%, 71.5%, 46.9%, 29.8%)
CIE-LABlab(42.43, 54.40, 4.48)
CIE-LCHlch(42.43, 54.58, 4.71°)
OKLaboklab(52.54% 0.1663 0.0121)
OKLCHoklch(52.54% 0.167 4.1)
XYZxyz(21.8415, 12.7804, 12.1410)
Luminance0.1278 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3335F #33B387
analogous
#B3339F #B3335F #B34733
triadic
#B3335F #5FB333 #335FB3
tetradic
#B3335F #9FB333 #33B387 #4733B3
square
#B3335F #9FB333 #33B387 #4733B3
split-complementary
#B3335F #33B347 #339FB3
monochromatic
#54182C #832546 #B3335F #CE557F #DC84A2

Accessibility & contrast

On white

5.91
#B3335F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#B3335F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B3335F
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3335F#FFFFFF#000000##FFFFFF
##B3335F1.005.913.565.91
#FFFFFF5.911.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505460
Deuteranopia (green-blind)
#726D5C
Tritanopia (blue-blind)
#C31D45
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b3335f;
/* rgb */ color: rgb(179, 51, 95);
/* oklch */ color: oklch(52.5% 0.167 4.1);
Tailwind
colors: {
  custom: {
    50: '#cf758c',
    500: '#b3335f',
    950: '#000000',
  },
}
SCSS
$custom: #b3335f;
$custom-light: #cf758c;
$custom-dark: #000000;
JSON
{
  "hex": "#b3335f",
  "rgb": {
    "r": 179,
    "g": 51,
    "b": 95
  },
  "hsl": {
    "h": 339.375,
    "s": 55.652,
    "l": 45.098
  },
  "oklch": {
    "l": 0.52536,
    "c": 0.16678,
    "h": 4.1
  },
  "luminance": 0.12778
}

Semantic roles & 50–950 ramp

primary
#B3335F
secondary
#7CC6AC
accent
#DFAB49
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#15090C
muted
#837B7D

Preview Lab

Preview with #B3335F

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

Preview Lab → · Contrast checker → · Palette generator →

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