#B3228B#B3228B

#B3228B is a mid, highly saturated pink. Relative luminance 0.126; OKLCH L 52.8% C 0.204 H 342.3°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#B3228B
RGBrgb(179, 34, 139)
HSLhsl(317, 68%, 42%)
HSVhsv(317, 81%, 70%)
CMYKcmyk(0%, 81%, 22.3%, 29.8%)
CIE-LABlab(42.15, 64.63, -23.18)
CIE-LCHlch(42.15, 68.66, 340.26°)
OKLaboklab(52.85% 0.1947 -0.0623)
OKLCHoklch(52.85% 0.204 342.3)
XYZxyz(23.8235, 12.5944, 25.5974)
Luminance0.1259 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3228B #22B34A
analogous
#9322B3 #B3228B #B32242
triadic
#B3228B #8BB322 #228BB3
tetradic
#B3228B #B39322 #22B34A #2242B3
square
#B3228B #B39322 #22B34A #2242B3
split-complementary
#B3228B #42B322 #22B393
monochromatic
#4C0E3B #801863 #B3228B #D939AD #E36CC2

Accessibility & contrast

On white

5.97
#B3228B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#B3228B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B3228B
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3228B#FFFFFF#000000##FFFFFF
##B3228B1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33558E
Deuteranopia (green-blind)
#616C88
Tritanopia (blue-blind)
#BF2455
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b3228b;
/* rgb */ color: rgb(179, 34, 139);
/* oklch */ color: oklch(52.8% 0.204 342.3);
Tailwind
colors: {
  custom: {
    50: '#ce6fad',
    500: '#b3228b',
    950: '#000000',
  },
}
SCSS
$custom: #b3228b;
$custom-light: #ce6fad;
$custom-dark: #000000;
JSON
{
  "hex": "#b3228b",
  "rgb": {
    "r": 179,
    "g": 34,
    "b": 139
  },
  "hsl": {
    "h": 316.552,
    "s": 68.075,
    "l": 41.765
  },
  "oklch": {
    "l": 0.52848,
    "c": 0.20442,
    "h": 342.3
  },
  "luminance": 0.12592
}

Semantic roles & 50–950 ramp

primary
#B3228B
secondary
#68C982
accent
#EB6D3D
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140810
muted
#837B7F

Preview Lab

Preview with #B3228B

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

Preview Lab → · Contrast checker → · Palette generator →

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