#B2297B#B2297B

#B2297B is a mid, vivid pink. Relative luminance 0.125; OKLCH L 52.5% C 0.188 H 349.1°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#B2297B
RGBrgb(178, 41, 123)
HSLhsl(324, 63%, 43%)
HSVhsv(324, 77%, 70%)
CMYKcmyk(0%, 77%, 30.9%, 30.2%)
CIE-LABlab(41.97, 60.46, -13.63)
CIE-LCHlch(41.97, 61.98, 347.29°)
OKLaboklab(52.47% 0.1847 -0.0357)
OKLCHoklch(52.47% 0.188 349.1)
XYZxyz(22.7294, 12.4836, 19.9477)
Luminance0.1248 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2297B #29B260
analogous
#A529B2 #B2297B #B22936
triadic
#B2297B #7BB229 #297BB2
tetradic
#B2297B #B2A529 #29B260 #2936B2
square
#B2297B #B2A529 #29B260 #2936B2
split-complementary
#B2297B #36B229 #29B2A5
monochromatic
#4F1236 #801E59 #B2297B #D4449A #DF76B5

Accessibility & contrast

On white

6.01
#B2297B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#B2297B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B2297B
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2297B#FFFFFF#000000##FFFFFF
##B2297B1.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40547D
Deuteranopia (green-blind)
#686C78
Tritanopia (blue-blind)
#BF214F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b2297b;
/* rgb */ color: rgb(178, 41, 123);
/* oklch */ color: oklch(52.5% 0.188 349.1);
Tailwind
colors: {
  custom: {
    50: '#ce71a1',
    500: '#b2297b',
    950: '#000000',
  },
}
SCSS
$custom: #b2297b;
$custom-light: #ce71a1;
$custom-dark: #000000;
JSON
{
  "hex": "#b2297b",
  "rgb": {
    "r": 178,
    "g": 41,
    "b": 123
  },
  "hsl": {
    "h": 324.088,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.52471,
    "c": 0.18815,
    "h": 349.1
  },
  "luminance": 0.12481
}

Semantic roles & 50–950 ramp

primary
#B2297B
secondary
#70C793
accent
#E68442
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090F
muted
#837B7E

Preview Lab

Preview with #B2297B

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

Preview Lab → · Contrast checker → · Palette generator →

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