#B02F94#B02F94

#B02F94 is a mid, vivid pink. Relative luminance 0.134; OKLCH L 53.8% C 0.195 H 338.2°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#B02F94
RGBrgb(176, 47, 148)
HSLhsl(313, 58%, 44%)
HSVhsv(313, 73%, 69%)
CMYKcmyk(0%, 73.3%, 15.9%, 31%)
CIE-LABlab(43.37, 61.31, -26.80)
CIE-LCHlch(43.37, 66.91, 336.39°)
OKLaboklab(53.76% 0.1815 -0.0727)
OKLCHoklch(53.76% 0.195 338.2)
XYZxyz(24.2668, 13.4035, 29.3203)
Luminance0.1340 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02F94 #2FB04B
analogous
#8B2FB0 #B02F94 #B02F53
triadic
#B02F94 #94B02F #2F94B0
tetradic
#B02F94 #B08B2F #2FB04B #2F53B0
square
#B02F94 #B08B2F #2FB04B #2F53B0
split-complementary
#B02F94 #53B02F #2FB08B
monochromatic
#4F1543 #80226B #B02F94 #CF4DB3 #DC7DC8

Accessibility & contrast

On white

5.71
#B02F94 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#B02F94 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02F94
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02F94#FFFFFF#000000##FFFFFF
##B02F941.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355A97
Deuteranopia (green-blind)
#606E91
Tritanopia (blue-blind)
#BA355E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b02f94;
/* rgb */ color: rgb(176, 47, 148);
/* oklch */ color: oklch(53.8% 0.195 338.2);
Tailwind
colors: {
  custom: {
    50: '#cb74b3',
    500: '#b02f94',
    950: '#000000',
  },
}
SCSS
$custom: #b02f94;
$custom-light: #cb74b3;
$custom-dark: #000000;
JSON
{
  "hex": "#b02f94",
  "rgb": {
    "r": 176,
    "g": 47,
    "b": 148
  },
  "hsl": {
    "h": 313.023,
    "s": 57.848,
    "l": 43.725
  },
  "oklch": {
    "l": 0.53763,
    "c": 0.19548,
    "h": 338.2
  },
  "luminance": 0.13401
}

Semantic roles & 50–950 ramp

primary
#B02F94
secondary
#76C587
accent
#E16847
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B02F94

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

Preview Lab → · Contrast checker → · Palette generator →

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