#B2297C#B2297C

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

Color values

HEX#B2297C
RGBrgb(178, 41, 124)
HSLhsl(324, 63%, 43%)
HSVhsv(324, 77%, 70%)
CMYKcmyk(0%, 77%, 30.3%, 30.2%)
CIE-LABlab(42.01, 60.58, -14.19)
CIE-LCHlch(42.01, 62.22, 346.81°)
OKLaboklab(52.51% 0.185 -0.0373)
OKLCHoklch(52.51% 0.189 348.6)
XYZxyz(22.7923, 12.5087, 20.2790)
Luminance0.1251 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2297C #29B25F
analogous
#A429B2 #B2297C #B22937
triadic
#B2297C #7CB229 #297CB2
tetradic
#B2297C #B2A429 #29B25F #2937B2
square
#B2297C #B2A429 #29B25F #2937B2
split-complementary
#B2297C #37B229 #29B2A4
monochromatic
#4F1237 #801E59 #B2297C #D4449B #DF76B6

Accessibility & contrast

On white

6.00
#B2297C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B2297C
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2297C#FFFFFF#000000##FFFFFF
##B2297C1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F547E
Deuteranopia (green-blind)
#676C79
Tritanopia (blue-blind)
#BF214F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b2297c;
/* rgb */ color: rgb(178, 41, 124);
/* oklch */ color: oklch(52.5% 0.189 348.6);
Tailwind
colors: {
  custom: {
    50: '#ce71a2',
    500: '#b2297c',
    950: '#000000',
  },
}
SCSS
$custom: #b2297c;
$custom-light: #ce71a2;
$custom-dark: #000000;
JSON
{
  "hex": "#b2297c",
  "rgb": {
    "r": 178,
    "g": 41,
    "b": 124
  },
  "hsl": {
    "h": 323.65,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.52512,
    "c": 0.18868,
    "h": 348.6
  },
  "luminance": 0.12506
}

Semantic roles & 50–950 ramp

primary
#B2297C
secondary
#70C792
accent
#E68342
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090F
muted
#837B7E

Preview Lab

Preview with #B2297C

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

Preview Lab → · Contrast checker → · Palette generator →

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