#B02E98#B02E98

#B02E98 is a mid, vivid pink. Relative luminance 0.135; OKLCH L 53.9% C 0.199 H 336.6°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#B02E98
RGBrgb(176, 46, 152)
HSLhsl(311, 59%, 44%)
HSVhsv(311, 74%, 69%)
CMYKcmyk(0%, 73.9%, 13.6%, 31%)
CIE-LABlab(43.44, 62.22, -29.10)
CIE-LCHlch(43.44, 68.69, 334.94°)
OKLaboklab(53.88% 0.1829 -0.0792)
OKLCHoklch(53.88% 0.199 336.6)
XYZxyz(24.5494, 13.4533, 31.0035)
Luminance0.1345 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02E98 #2EB046
analogous
#872EB0 #B02E98 #B02E57
triadic
#B02E98 #98B02E #2E98B0
tetradic
#B02E98 #B0872E #2EB046 #2E57B0
square
#B02E98 #B0872E #2EB046 #2E57B0
split-complementary
#B02E98 #57B02E #2EB087
monochromatic
#4F1544 #7F216E #B02E98 #D04BB7 #DD7CCB

Accessibility & contrast

On white

5.69
#B02E98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#B02E98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02E98
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02E98#FFFFFF#000000##FFFFFF
##B02E981.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315A9B
Deuteranopia (green-blind)
#5E6E95
Tritanopia (blue-blind)
#B93760
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b02e98;
/* rgb */ color: rgb(176, 46, 152);
/* oklch */ color: oklch(53.9% 0.199 336.6);
Tailwind
colors: {
  custom: {
    50: '#cb74b6',
    500: '#b02e98',
    950: '#000000',
  },
}
SCSS
$custom: #b02e98;
$custom-light: #cb74b6;
$custom-dark: #000000;
JSON
{
  "hex": "#b02e98",
  "rgb": {
    "r": 176,
    "g": 46,
    "b": 152
  },
  "hsl": {
    "h": 311.077,
    "s": 58.559,
    "l": 43.529
  },
  "oklch": {
    "l": 0.53878,
    "c": 0.19933,
    "h": 336.6
  },
  "luminance": 0.13451
}

Semantic roles & 50–950 ramp

primary
#B02E98
secondary
#75C584
accent
#E26346
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B02E98

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

Preview Lab → · Contrast checker → · Palette generator →

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