#B02F78#B02F78

#B02F78 is a mid, vivid pink. Relative luminance 0.126; OKLCH L 52.5% C 0.179 H 350.4°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#B02F78
RGBrgb(176, 47, 120)
HSLhsl(326, 58%, 44%)
HSVhsv(326, 73%, 69%)
CMYKcmyk(0%, 73.3%, 31.8%, 31%)
CIE-LABlab(42.19, 57.63, -11.49)
CIE-LCHlch(42.19, 58.77, 348.72°)
OKLaboklab(52.52% 0.1761 -0.0299)
OKLCHoklch(52.52% 0.179 350.4)
XYZxyz(22.3124, 12.6218, 19.0269)
Luminance0.1262 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02F78 #2FB067
analogous
#A72FB0 #B02F78 #B02F37
triadic
#B02F78 #78B02F #2F78B0
tetradic
#B02F78 #B0A72F #2FB067 #2F37B0
square
#B02F78 #B0A72F #2FB067 #2F37B0
split-complementary
#B02F78 #37B02F #2FB0A7
monochromatic
#4F1536 #802257 #B02F78 #CF4D97 #DC7DB3

Accessibility & contrast

On white

5.96
#B02F78 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#B02F78 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02F78
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02F78#FFFFFF#000000##FFFFFF
##B02F781.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#44557A
Deuteranopia (green-blind)
#696C75
Tritanopia (blue-blind)
#BD274F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b02f78;
/* rgb */ color: rgb(176, 47, 120);
/* oklch */ color: oklch(52.5% 0.179 350.4);
Tailwind
colors: {
  custom: {
    50: '#cc739f',
    500: '#b02f78',
    950: '#000000',
  },
}
SCSS
$custom: #b02f78;
$custom-light: #cc739f;
$custom-dark: #000000;
JSON
{
  "hex": "#b02f78",
  "rgb": {
    "r": 176,
    "g": 47,
    "b": 120
  },
  "hsl": {
    "h": 326.047,
    "s": 57.848,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52522,
    "c": 0.17861,
    "h": 350.4
  },
  "luminance": 0.12619
}

Semantic roles & 50–950 ramp

primary
#B02F78
secondary
#76C598
accent
#E18A47
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #B02F78

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

Preview Lab → · Contrast checker → · Palette generator →

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