#B0297F#B0297F

#B0297F is a mid, vivid pink. Relative luminance 0.123; OKLCH L 52.3% C 0.189 H 346.7°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#B0297F
RGBrgb(176, 41, 127)
HSLhsl(322, 62%, 43%)
HSVhsv(322, 77%, 69%)
CMYKcmyk(0%, 76.7%, 27.8%, 31%)
CIE-LABlab(41.77, 60.44, -16.45)
CIE-LCHlch(41.77, 62.63, 344.77°)
OKLaboklab(52.31% 0.1839 -0.0435)
OKLCHoklch(52.31% 0.189 346.7)
XYZxyz(22.5293, 12.3508, 21.2721)
Luminance0.1235 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0297F #29B05A
analogous
#9E29B0 #B0297F #B0293B
triadic
#B0297F #7FB029 #297FB0
tetradic
#B0297F #B09E29 #29B05A #293BB0
square
#B0297F #B09E29 #29B05A #293BB0
split-complementary
#B0297F #3BB029 #29B09E
monochromatic
#4D1237 #7E1D5B #B0297F #D3439F #DF75B8

Accessibility & contrast

On white

6.05
#B0297F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#B0297F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B0297F
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0297F#FFFFFF#000000##FFFFFF
##B0297F1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5481
Deuteranopia (green-blind)
#656B7C
Tritanopia (blue-blind)
#BC2451
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b0297f;
/* rgb */ color: rgb(176, 41, 127);
/* oklch */ color: oklch(52.3% 0.189 346.7);
Tailwind
colors: {
  custom: {
    50: '#cc71a4',
    500: '#b0297f',
    950: '#000000',
  },
}
SCSS
$custom: #b0297f;
$custom-light: #cc71a4;
$custom-dark: #000000;
JSON
{
  "hex": "#b0297f",
  "rgb": {
    "r": 176,
    "g": 41,
    "b": 127
  },
  "hsl": {
    "h": 321.778,
    "s": 62.212,
    "l": 42.549
  },
  "oklch": {
    "l": 0.52306,
    "c": 0.18893,
    "h": 346.7
  },
  "luminance": 0.12348
}

Semantic roles & 50–950 ramp

primary
#B0297F
secondary
#6FC68E
accent
#E57E43
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14090F
muted
#837B7F

Preview Lab

Preview with #B0297F

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

Preview Lab → · Contrast checker → · Palette generator →

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