#B0298E#B0298E

#B0298E is a mid, vivid pink. Relative luminance 0.128; OKLCH L 53.0% C 0.198 H 340.4°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#B0298E
RGBrgb(176, 41, 142)
HSLhsl(315, 62%, 43%)
HSVhsv(315, 77%, 69%)
CMYKcmyk(0%, 76.7%, 19.3%, 31%)
CIE-LABlab(42.42, 62.38, -24.64)
CIE-LCHlch(42.42, 67.07, 338.45°)
OKLaboklab(52.99% 0.1865 -0.0665)
OKLCHoklch(52.99% 0.198 340.4)
XYZxyz(23.5806, 12.7714, 26.8092)
Luminance0.1277 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0298E #29B04B
analogous
#8E29B0 #B0298E #B0294B
triadic
#B0298E #8EB029 #298EB0
tetradic
#B0298E #B08E29 #29B04B #294BB0
square
#B0298E #B08E29 #29B04B #294BB0
split-complementary
#B0298E #4BB029 #29B08E
monochromatic
#4D123E #7E1D66 #B0298E #D343AF #DF75C4

Accessibility & contrast

On white

5.91
#B0298E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#B0298E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B0298E
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0298E#FFFFFF#000000##FFFFFF
##B0298E1.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345691
Deuteranopia (green-blind)
#606C8B
Tritanopia (blue-blind)
#BB2D59
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b0298e;
/* rgb */ color: rgb(176, 41, 142);
/* oklch */ color: oklch(53.0% 0.198 340.4);
Tailwind
colors: {
  custom: {
    50: '#cc71af',
    500: '#b0298e',
    950: '#000000',
  },
}
SCSS
$custom: #b0298e;
$custom-light: #cc71af;
$custom-dark: #000000;
JSON
{
  "hex": "#b0298e",
  "rgb": {
    "r": 176,
    "g": 41,
    "b": 142
  },
  "hsl": {
    "h": 315.111,
    "s": 62.212,
    "l": 42.549
  },
  "oklch": {
    "l": 0.52987,
    "c": 0.19795,
    "h": 340.4
  },
  "luminance": 0.12769
}

Semantic roles & 50–950 ramp

primary
#B0298E
secondary
#6FC685
accent
#E56C43
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B0298E

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

Preview Lab → · Contrast checker → · Palette generator →

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