#B02E7B#B02E7B

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

Color values

HEX#B02E7B
RGBrgb(176, 46, 123)
HSLhsl(324, 59%, 44%)
HSVhsv(324, 74%, 69%)
CMYKcmyk(0%, 73.9%, 30.1%, 31%)
CIE-LABlab(42.18, 58.33, -13.36)
CIE-LCHlch(42.18, 59.84, 347.10°)
OKLaboklab(52.55% 0.1779 -0.035)
OKLCHoklch(52.55% 0.181 348.9)
XYZxyz(22.4578, 12.6167, 19.9876)
Luminance0.1261 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02E7B #2EB063
analogous
#A42EB0 #B02E7B #B02E3A
triadic
#B02E7B #7BB02E #2E7BB0
tetradic
#B02E7B #B0A42E #2EB063 #2E3AB0
square
#B02E7B #B0A42E #2EB063 #2E3AB0
split-complementary
#B02E7B #3AB02E #2EB0A4
monochromatic
#4F1537 #7F2159 #B02E7B #D04B9A #DD7CB5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B02E7B#FFFFFF#000000##FFFFFF
##B02E7B1.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)
#42557D
Deuteranopia (green-blind)
#686C78
Tritanopia (blue-blind)
#BD2750
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b02e7b;
/* rgb */ color: rgb(176, 46, 123);
/* oklch */ color: oklch(52.6% 0.181 348.9);
Tailwind
colors: {
  custom: {
    50: '#cc73a1',
    500: '#b02e7b',
    950: '#000000',
  },
}
SCSS
$custom: #b02e7b;
$custom-light: #cc73a1;
$custom-dark: #000000;
JSON
{
  "hex": "#b02e7b",
  "rgb": {
    "r": 176,
    "g": 46,
    "b": 123
  },
  "hsl": {
    "h": 324.462,
    "s": 58.559,
    "l": 43.529
  },
  "oklch": {
    "l": 0.52554,
    "c": 0.18132,
    "h": 348.9
  },
  "luminance": 0.12614
}

Semantic roles & 50–950 ramp

primary
#B02E7B
secondary
#75C595
accent
#E28646
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090F
muted
#837B7E

Preview Lab

Preview with #B02E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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