#B0298C#B0298C

#B0298C is a mid, vivid pink. Relative luminance 0.127; OKLCH L 52.9% C 0.197 H 341.2°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#B0298C
RGBrgb(176, 41, 140)
HSLhsl(316, 62%, 43%)
HSVhsv(316, 77%, 69%)
CMYKcmyk(0%, 76.7%, 20.5%, 31%)
CIE-LABlab(42.33, 62.11, -23.56)
CIE-LCHlch(42.33, 66.43, 339.23°)
OKLaboklab(52.89% 0.1862 -0.0635)
OKLCHoklch(52.89% 0.197 341.2)
XYZxyz(23.4318, 12.7118, 26.0255)
Luminance0.1271 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0298C #29B04D
analogous
#9029B0 #B0298C #B02948
triadic
#B0298C #8CB029 #298CB0
tetradic
#B0298C #B09029 #29B04D #2948B0
square
#B0298C #B09029 #29B04D #2948B0
split-complementary
#B0298C #48B029 #29B090
monochromatic
#4D123D #7E1D65 #B0298C #D343AD #DF75C2

Accessibility & contrast

On white

5.93
#B0298C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#B0298C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B0298C
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0298C#FFFFFF#000000##FFFFFF
##B0298C1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35568F
Deuteranopia (green-blind)
#616C89
Tritanopia (blue-blind)
#BB2C58
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b0298c;
/* rgb */ color: rgb(176, 41, 140);
/* oklch */ color: oklch(52.9% 0.197 341.2);
Tailwind
colors: {
  custom: {
    50: '#cc71ae',
    500: '#b0298c',
    950: '#000000',
  },
}
SCSS
$custom: #b0298c;
$custom-light: #cc71ae;
$custom-dark: #000000;
JSON
{
  "hex": "#b0298c",
  "rgb": {
    "r": 176,
    "g": 41,
    "b": 140
  },
  "hsl": {
    "h": 316,
    "s": 62.212,
    "l": 42.549
  },
  "oklch": {
    "l": 0.52892,
    "c": 0.19669,
    "h": 341.2
  },
  "luminance": 0.12709
}

Semantic roles & 50–950 ramp

primary
#B0298C
secondary
#6FC686
accent
#E56E43
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B0298C

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

Preview Lab → · Contrast checker → · Palette generator →

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