#B02B8D#B02B8D

#B02B8D is a mid, vivid pink. Relative luminance 0.129; OKLCH L 53.1% C 0.195 H 340.9°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#B02B8D
RGBrgb(176, 43, 141)
HSLhsl(316, 61%, 43%)
HSVhsv(316, 76%, 69%)
CMYKcmyk(0%, 75.6%, 19.9%, 31%)
CIE-LABlab(42.59, 61.63, -23.76)
CIE-LCHlch(42.59, 66.05, 338.92°)
OKLaboklab(53.1% 0.1844 -0.064)
OKLCHoklch(53.1% 0.195 340.9)
XYZxyz(23.5768, 12.8833, 26.4392)
Luminance0.1288 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02B8D #2BB04E
analogous
#902BB0 #B02B8D #B02B4B
triadic
#B02B8D #8DB02B #2B8DB0
tetradic
#B02B8D #B0902B #2BB04E #2B4BB0
square
#B02B8D #B0902B #2BB04E #2B4BB0
split-complementary
#B02B8D #4BB02B #2BB090
monochromatic
#4E133E #7F1F66 #B02B8D #D246AD #DE78C3

Accessibility & contrast

On white

5.87
#B02B8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#B02B8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02B8D
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02B8D#FFFFFF#000000##FFFFFF
##B02B8D1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365790
Deuteranopia (green-blind)
#616C8A
Tritanopia (blue-blind)
#BB2E59
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b02b8d;
/* rgb */ color: rgb(176, 43, 141);
/* oklch */ color: oklch(53.1% 0.195 340.9);
Tailwind
colors: {
  custom: {
    50: '#cc72ae',
    500: '#b02b8d',
    950: '#000000',
  },
}
SCSS
$custom: #b02b8d;
$custom-light: #cc72ae;
$custom-dark: #000000;
JSON
{
  "hex": "#b02b8d",
  "rgb": {
    "r": 176,
    "g": 43,
    "b": 141
  },
  "hsl": {
    "h": 315.789,
    "s": 60.731,
    "l": 42.941
  },
  "oklch": {
    "l": 0.53096,
    "c": 0.19524,
    "h": 340.9
  },
  "luminance": 0.12881
}

Semantic roles & 50–950 ramp

primary
#B02B8D
secondary
#71C687
accent
#E46E44
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B02B8D

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

Preview Lab → · Contrast checker → · Palette generator →

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