#B2297A#B2297A

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

Color values

HEX#B2297A
RGBrgb(178, 41, 122)
HSLhsl(325, 63%, 43%)
HSVhsv(325, 77%, 70%)
CMYKcmyk(0%, 77%, 31.5%, 30.2%)
CIE-LABlab(41.94, 60.34, -13.07)
CIE-LCHlch(41.94, 61.74, 347.77°)
OKLaboklab(52.43% 0.1845 -0.0342)
OKLCHoklch(52.43% 0.188 349.5)
XYZxyz(22.6671, 12.4586, 19.6197)
Luminance0.1246 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2297A #29B261
analogous
#A629B2 #B2297A #B22935
triadic
#B2297A #7AB229 #297AB2
tetradic
#B2297A #B2A629 #29B261 #2935B2
square
#B2297A #B2A629 #29B261 #2935B2
split-complementary
#B2297A #35B229 #29B2A6
monochromatic
#4F1236 #801E58 #B2297A #D44499 #DF76B4

Accessibility & contrast

On white

6.02
#B2297A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#B2297A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B2297A
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2297A#FFFFFF#000000##FFFFFF
##B2297A1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40547C
Deuteranopia (green-blind)
#686C77
Tritanopia (blue-blind)
#BF204E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b2297a;
/* rgb */ color: rgb(178, 41, 122);
/* oklch */ color: oklch(52.4% 0.188 349.5);
Tailwind
colors: {
  custom: {
    50: '#ce71a0',
    500: '#b2297a',
    950: '#000000',
  },
}
SCSS
$custom: #b2297a;
$custom-light: #ce71a0;
$custom-dark: #000000;
JSON
{
  "hex": "#b2297a",
  "rgb": {
    "r": 178,
    "g": 41,
    "b": 122
  },
  "hsl": {
    "h": 324.526,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.52431,
    "c": 0.18763,
    "h": 349.5
  },
  "luminance": 0.12456
}

Semantic roles & 50–950 ramp

primary
#B2297A
secondary
#70C793
accent
#E68542
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #B2297A

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

Preview Lab → · Contrast checker → · Palette generator →

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