#B2296E#B2296E

#B2296E is a mid, vivid pink. Relative luminance 0.122; OKLCH L 52.0% C 0.182 H 355.0°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#B2296E
RGBrgb(178, 41, 110)
HSLhsl(330, 63%, 43%)
HSVhsv(330, 77%, 70%)
CMYKcmyk(0%, 77%, 38.2%, 30.2%)
CIE-LABlab(41.50, 59.01, -6.28)
CIE-LCHlch(41.50, 59.34, 353.93°)
OKLaboklab(51.97% 0.1813 -0.0158)
OKLCHoklch(51.97% 0.182 355)
XYZxyz(21.9690, 12.1794, 15.9428)
Luminance0.1218 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2296E #29B26D
analogous
#B129B2 #B2296E #B22929
triadic
#B2296E #6EB229 #296EB2
tetradic
#B2296E #B2B129 #29B26D #2929B2
square
#B2296E #B2B129 #29B26D #2929B2
split-complementary
#B2296E #29B229 #29B2B1
monochromatic
#4F1231 #801E4F #B2296E #D4448D #DF76AB

Accessibility & contrast

On white

6.11
#B2296E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#B2296E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B2296E
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2296E#FFFFFF#000000##FFFFFF
##B2296E1.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455270
Deuteranopia (green-blind)
#6B6B6B
Tritanopia (blue-blind)
#C01748
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b2296e;
/* rgb */ color: rgb(178, 41, 110);
/* oklch */ color: oklch(52.0% 0.182 355.0);
Tailwind
colors: {
  custom: {
    50: '#ce7197',
    500: '#b2296e',
    950: '#000000',
  },
}
SCSS
$custom: #b2296e;
$custom-light: #ce7197;
$custom-dark: #000000;
JSON
{
  "hex": "#b2296e",
  "rgb": {
    "r": 178,
    "g": 41,
    "b": 110
  },
  "hsl": {
    "h": 329.781,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51969,
    "c": 0.18198,
    "h": 355
  },
  "luminance": 0.12177
}

Semantic roles & 50–950 ramp

primary
#B2296E
secondary
#70C79B
accent
#E69342
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14080D
muted
#837B7E

Preview Lab

Preview with #B2296E

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

Preview Lab → · Contrast checker → · Palette generator →

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