#B0226D#B0226D

#B0226D is a mid, vivid pink. Relative luminance 0.115; OKLCH L 51.1% C 0.187 H 354.3°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#B0226D
RGBrgb(176, 34, 109)
HSLhsl(328, 68%, 41%)
HSVhsv(328, 81%, 69%)
CMYKcmyk(0%, 80.7%, 38.1%, 31%)
CIE-LABlab(40.38, 60.40, -7.36)
CIE-LCHlch(40.38, 60.84, 353.05°)
OKLaboklab(51.07% 0.1858 -0.0187)
OKLCHoklch(51.07% 0.187 354.3)
XYZxyz(21.2383, 11.4810, 15.5627)
Luminance0.1148 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0226D #22B065
analogous
#AC22B0 #B0226D #B02226
triadic
#B0226D #6DB022 #226DB0
tetradic
#B0226D #B0AC22 #22B065 #2226B0
square
#B0226D #B0AC22 #22B065 #2226B0
split-complementary
#B0226D #26B022 #22B0AC
monochromatic
#490E2D #7D184D #B0226D #D8378C #E26AAA

Accessibility & contrast

On white

6.37
#B0226D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#B0226D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B0226D
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0226D#FFFFFF#000000##FFFFFF
##B0226D1.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404F6F
Deuteranopia (green-blind)
#68686A
Tritanopia (blue-blind)
#BE0B45
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b0226d;
/* rgb */ color: rgb(176, 34, 109);
/* oklch */ color: oklch(51.1% 0.187 354.3);
Tailwind
colors: {
  custom: {
    50: '#cd6e96',
    500: '#b0226d',
    950: '#000000',
  },
}
SCSS
$custom: #b0226d;
$custom-light: #cd6e96;
$custom-dark: #000000;
JSON
{
  "hex": "#b0226d",
  "rgb": {
    "r": 176,
    "g": 34,
    "b": 109
  },
  "hsl": {
    "h": 328.31,
    "s": 67.619,
    "l": 41.176
  },
  "oklch": {
    "l": 0.51071,
    "c": 0.1867,
    "h": 354.3
  },
  "luminance": 0.11478
}

Semantic roles & 50–950 ramp

primary
#B0226D
secondary
#66C894
accent
#EA8F3D
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14080D
muted
#837B7E

Preview Lab

Preview with #B0226D

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

Preview Lab → · Contrast checker → · Palette generator →

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