#B02B7F#B02B7F

#B02B7F is a mid, vivid pink. Relative luminance 0.125; OKLCH L 52.5% C 0.187 H 346.8°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#B02B7F
RGBrgb(176, 43, 127)
HSLhsl(322, 61%, 43%)
HSVhsv(322, 76%, 69%)
CMYKcmyk(0%, 75.6%, 27.8%, 31%)
CIE-LABlab(41.99, 59.81, -16.11)
CIE-LCHlch(41.99, 61.94, 344.92°)
OKLaboklab(52.47% 0.1819 -0.0426)
OKLCHoklch(52.47% 0.187 346.8)
XYZxyz(22.6002, 12.4927, 21.2957)
Luminance0.1249 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02B7F #2BB05C
analogous
#9E2BB0 #B02B7F #B02B3D
triadic
#B02B7F #7FB02B #2B7FB0
tetradic
#B02B7F #B09E2B #2BB05C #2B3DB0
square
#B02B7F #B09E2B #2BB05C #2B3DB0
split-complementary
#B02B7F #3DB02B #2BB09E
monochromatic
#4E1338 #7F1F5C #B02B7F #D2469E #DE78B8

Accessibility & contrast

On white

6.00
#B02B7F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#B02B7F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02B7F
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02B7F#FFFFFF#000000##FFFFFF
##B02B7F1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5581
Deuteranopia (green-blind)
#666B7C
Tritanopia (blue-blind)
#BC2651
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b02b7f;
/* rgb */ color: rgb(176, 43, 127);
/* oklch */ color: oklch(52.5% 0.187 346.8);
Tailwind
colors: {
  custom: {
    50: '#cc72a4',
    500: '#b02b7f',
    950: '#000000',
  },
}
SCSS
$custom: #b02b7f;
$custom-light: #cc72a4;
$custom-dark: #000000;
JSON
{
  "hex": "#b02b7f",
  "rgb": {
    "r": 176,
    "g": 43,
    "b": 127
  },
  "hsl": {
    "h": 322.105,
    "s": 60.731,
    "l": 42.941
  },
  "oklch": {
    "l": 0.52466,
    "c": 0.18682,
    "h": 346.8
  },
  "luminance": 0.1249
}

Semantic roles & 50–950 ramp

primary
#B02B7F
secondary
#71C690
accent
#E47F44
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14090F
muted
#837B7F

Preview Lab

Preview with #B02B7F

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

Preview Lab → · Contrast checker → · Palette generator →

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