#B3335D#B3335D

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

Color values

HEX#B3335D
RGBrgb(179, 51, 93)
HSLhsl(340, 56%, 45%)
HSVhsv(340, 72%, 70%)
CMYKcmyk(0%, 71.5%, 48%, 29.8%)
CIE-LABlab(42.38, 54.22, 5.65)
CIE-LCHlch(42.38, 54.51, 5.95°)
OKLaboklab(52.48% 0.1656 0.015)
OKLCHoklch(52.48% 0.166 5.2)
XYZxyz(21.7518, 12.7445, 11.6683)
Luminance0.1274 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3335D #33B389
analogous
#B3339D #B3335D #B34933
triadic
#B3335D #5DB333 #335DB3
tetradic
#B3335D #9DB333 #33B389 #4933B3
square
#B3335D #9DB333 #33B389 #4933B3
split-complementary
#B3335D #33B349 #339DB3
monochromatic
#54182C #832544 #B3335D #CE557D #DC84A1

Accessibility & contrast

On white

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

On black

3.55
#B3335D on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B3335D#FFFFFF#000000##FFFFFF
##B3335D1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50545E
Deuteranopia (green-blind)
#726D5A
Tritanopia (blue-blind)
#C31C44
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b3335d;
/* rgb */ color: rgb(179, 51, 93);
/* oklch */ color: oklch(52.5% 0.166 5.2);
Tailwind
colors: {
  custom: {
    50: '#cf758a',
    500: '#b3335d',
    950: '#000000',
  },
}
SCSS
$custom: #b3335d;
$custom-light: #cf758a;
$custom-dark: #000000;
JSON
{
  "hex": "#b3335d",
  "rgb": {
    "r": 179,
    "g": 51,
    "b": 93
  },
  "hsl": {
    "h": 340.313,
    "s": 55.652,
    "l": 45.098
  },
  "oklch": {
    "l": 0.52478,
    "c": 0.16629,
    "h": 5.2
  },
  "luminance": 0.12742
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B3335D

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

Preview Lab → · Contrast checker → · Palette generator →

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