#B2335E#B2335E

#B2335E is a mid, vivid pink. Relative luminance 0.126; OKLCH L 52.3% C 0.166 H 4.4°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#B2335E
RGBrgb(178, 51, 94)
HSLhsl(340, 55%, 45%)
HSVhsv(340, 71%, 70%)
CMYKcmyk(0%, 71.3%, 47.2%, 30.2%)
CIE-LABlab(42.22, 54.01, 4.78)
CIE-LCHlch(42.22, 54.22, 5.06°)
OKLaboklab(52.34% 0.1651 0.0128)
OKLCHoklch(52.34% 0.166 4.4)
XYZxyz(21.5660, 12.6436, 11.8923)
Luminance0.1264 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2335E #33B287
analogous
#B2339E #B2335E #B24733
triadic
#B2335E #5EB233 #335EB2
tetradic
#B2335E #9EB233 #33B287 #4733B2
square
#B2335E #9EB233 #33B287 #4733B2
split-complementary
#B2335E #33B247 #339EB2
monochromatic
#53182C #822545 #B2335E #CE547D #DC84A2

Accessibility & contrast

On white

5.95
#B2335E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#B2335E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B2335E
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2335E#FFFFFF#000000##FFFFFF
##B2335E1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50545F
Deuteranopia (green-blind)
#716D5B
Tritanopia (blue-blind)
#C21D45
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b2335e;
/* rgb */ color: rgb(178, 51, 94);
/* oklch */ color: oklch(52.3% 0.166 4.4);
Tailwind
colors: {
  custom: {
    50: '#ce748b',
    500: '#b2335e',
    950: '#000000',
  },
}
SCSS
$custom: #b2335e;
$custom-light: #ce748b;
$custom-dark: #000000;
JSON
{
  "hex": "#b2335e",
  "rgb": {
    "r": 178,
    "g": 51,
    "b": 94
  },
  "hsl": {
    "h": 339.685,
    "s": 55.459,
    "l": 44.902
  },
  "oklch": {
    "l": 0.52339,
    "c": 0.1656,
    "h": 4.4
  },
  "luminance": 0.12641
}

Semantic roles & 50–950 ramp

primary
#B2335E
secondary
#7CC5AC
accent
#DFAC49
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#15090C
muted
#837B7D

Preview Lab

Preview with #B2335E

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

Preview Lab → · Contrast checker → · Palette generator →

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