#B3335A#B3335A

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

Color values

HEX#B3335A
RGBrgb(179, 51, 90)
HSLhsl(342, 56%, 45%)
HSVhsv(342, 72%, 70%)
CMYKcmyk(0%, 71.5%, 49.7%, 29.8%)
CIE-LABlab(42.30, 53.95, 7.41)
CIE-LCHlch(42.30, 54.46, 7.82°)
OKLaboklab(52.39% 0.1645 0.0193)
OKLCHoklch(52.39% 0.166 6.7)
XYZxyz(21.6215, 12.6924, 10.9822)
Luminance0.1269 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3335A #33B38C
analogous
#B3339A #B3335A #B34C33
triadic
#B3335A #5AB333 #335AB3
tetradic
#B3335A #9AB333 #33B38C #4C33B3
square
#B3335A #9AB333 #33B38C #4C33B3
split-complementary
#B3335A #33B34C #339AB3
monochromatic
#54182A #832542 #B3335A #CE557A #DC849F

Accessibility & contrast

On white

5.94
#B3335A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B3335A
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3335A#FFFFFF#000000##FFFFFF
##B3335A1.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51545B
Deuteranopia (green-blind)
#736D57
Tritanopia (blue-blind)
#C31A43
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b3335a;
/* rgb */ color: rgb(179, 51, 90);
/* oklch */ color: oklch(52.4% 0.166 6.7);
Tailwind
colors: {
  custom: {
    50: '#cf7488',
    500: '#b3335a',
    950: '#000000',
  },
}
SCSS
$custom: #b3335a;
$custom-light: #cf7488;
$custom-dark: #000000;
JSON
{
  "hex": "#b3335a",
  "rgb": {
    "r": 179,
    "g": 51,
    "b": 90
  },
  "hsl": {
    "h": 341.719,
    "s": 55.652,
    "l": 45.098
  },
  "oklch": {
    "l": 0.52393,
    "c": 0.16562,
    "h": 6.7
  },
  "luminance": 0.1269
}

Semantic roles & 50–950 ramp

primary
#B3335A
secondary
#7CC6AF
accent
#DFB149
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15090B
muted
#837B7C

Preview Lab

Preview with #B3335A

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

Preview Lab → · Contrast checker → · Palette generator →

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