#B3228D#B3228D

#B3228D is a mid, highly saturated pink. Relative luminance 0.127; OKLCH L 52.9% C 0.206 H 341.5°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#B3228D
RGBrgb(179, 34, 141)
HSLhsl(316, 68%, 42%)
HSVhsv(316, 81%, 70%)
CMYKcmyk(0%, 81%, 21.2%, 29.8%)
CIE-LABlab(42.24, 64.88, -24.26)
CIE-LCHlch(42.24, 69.27, 339.50°)
OKLaboklab(52.94% 0.195 -0.0653)
OKLCHoklch(52.94% 0.206 341.5)
XYZxyz(23.9710, 12.6534, 26.3741)
Luminance0.1265 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3228D #22B348
analogous
#9122B3 #B3228D #B32245
triadic
#B3228D #8DB322 #228DB3
tetradic
#B3228D #B39122 #22B348 #2245B3
square
#B3228D #B39122 #22B348 #2245B3
split-complementary
#B3228D #45B322 #22B391
monochromatic
#4C0E3C #801864 #B3228D #D939AF #E36CC4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B3228D#FFFFFF#000000##FFFFFF
##B3228D1.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)
#315590
Deuteranopia (green-blind)
#616C8A
Tritanopia (blue-blind)
#BE2556
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b3228d;
/* rgb */ color: rgb(179, 34, 141);
/* oklch */ color: oklch(52.9% 0.206 341.5);
Tailwind
colors: {
  custom: {
    50: '#ce6fae',
    500: '#b3228d',
    950: '#000000',
  },
}
SCSS
$custom: #b3228d;
$custom-light: #ce6fae;
$custom-dark: #000000;
JSON
{
  "hex": "#b3228d",
  "rgb": {
    "r": 179,
    "g": 34,
    "b": 141
  },
  "hsl": {
    "h": 315.724,
    "s": 68.075,
    "l": 41.765
  },
  "oklch": {
    "l": 0.52942,
    "c": 0.20564,
    "h": 341.5
  },
  "luminance": 0.12651
}

Semantic roles & 50–950 ramp

primary
#B3228D
secondary
#68C981
accent
#EB6A3D
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140810
muted
#837B7F

Preview Lab

Preview with #B3228D

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

Preview Lab → · Contrast checker → · Palette generator →

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