#B2297D#B2297D

#B2297D is a mid, vivid pink. Relative luminance 0.125; OKLCH L 52.6% C 0.189 H 348.2°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#B2297D
RGBrgb(178, 41, 125)
HSLhsl(323, 63%, 43%)
HSVhsv(323, 77%, 70%)
CMYKcmyk(0%, 77%, 29.8%, 30.2%)
CIE-LABlab(42.05, 60.70, -14.75)
CIE-LCHlch(42.05, 62.47, 346.34°)
OKLaboklab(52.55% 0.1852 -0.0388)
OKLCHoklch(52.55% 0.189 348.2)
XYZxyz(22.8559, 12.5341, 20.6138)
Luminance0.1253 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2297D #29B25E
analogous
#A229B2 #B2297D #B22938
triadic
#B2297D #7DB229 #297DB2
tetradic
#B2297D #B2A229 #29B25E #2938B2
square
#B2297D #B2A229 #29B25E #2938B2
split-complementary
#B2297D #38B229 #29B2A2
monochromatic
#4F1237 #801E5A #B2297D #D4449C #DF76B7

Accessibility & contrast

On white

5.99
#B2297D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#B2297D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B2297D
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2297D#FFFFFF#000000##FFFFFF
##B2297D1.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F547F
Deuteranopia (green-blind)
#676C7A
Tritanopia (blue-blind)
#BF2250
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b2297d;
/* rgb */ color: rgb(178, 41, 125);
/* oklch */ color: oklch(52.6% 0.189 348.2);
Tailwind
colors: {
  custom: {
    50: '#ce71a2',
    500: '#b2297d',
    950: '#000000',
  },
}
SCSS
$custom: #b2297d;
$custom-light: #ce71a2;
$custom-dark: #000000;
JSON
{
  "hex": "#b2297d",
  "rgb": {
    "r": 178,
    "g": 41,
    "b": 125
  },
  "hsl": {
    "h": 323.212,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.52554,
    "c": 0.18921,
    "h": 348.2
  },
  "luminance": 0.12532
}

Semantic roles & 50–950 ramp

primary
#B2297D
secondary
#70C792
accent
#E68142
background
#FDF7FA
surface
#FAEDF3
border
#D3C8CD
text
#14090F
muted
#837B7F

Preview Lab

Preview with #B2297D

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

Preview Lab → · Contrast checker → · Palette generator →

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