#B02666#B02666

#B02666 is a mid, vivid pink. Relative luminance 0.116; OKLCH L 51.1% C 0.180 H 357.9°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#B02666
RGBrgb(176, 38, 102)
HSLhsl(332, 64%, 42%)
HSVhsv(332, 78%, 69%)
CMYKcmyk(0%, 78.4%, 42%, 31%)
CIE-LABlab(40.54, 58.56, -2.73)
CIE-LCHlch(40.54, 58.62, 357.33°)
OKLaboklab(51.11% 0.1801 -0.0064)
OKLCHoklch(51.11% 0.18 357.9)
XYZxyz(20.9975, 11.5784, 13.6969)
Luminance0.1158 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02666 #26B070
analogous
#B026AB #B02666 #B02B26
triadic
#B02666 #66B026 #2666B0
tetradic
#B02666 #ABB026 #26B070 #2B26B0
square
#B02666 #ABB026 #26B070 #2B26B0
split-complementary
#B02666 #26B02B #26ABB0
monochromatic
#4B102C #7E1B49 #B02666 #D53E84 #E070A4

Accessibility & contrast

On white

6.33
#B02666 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#B02666 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02666
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02666#FFFFFF#000000##FFFFFF
##B026661.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454F68
Deuteranopia (green-blind)
#6B6963
Tritanopia (blue-blind)
#BF0C43
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b02666;
/* rgb */ color: rgb(176, 38, 102);
/* oklch */ color: oklch(51.1% 0.180 357.9);
Tailwind
colors: {
  custom: {
    50: '#cd6f91',
    500: '#b02666',
    950: '#000000',
  },
}
SCSS
$custom: #b02666;
$custom-light: #cd6f91;
$custom-dark: #000000;
JSON
{
  "hex": "#b02666",
  "rgb": {
    "r": 176,
    "g": 38,
    "b": 102
  },
  "hsl": {
    "h": 332.174,
    "s": 64.486,
    "l": 41.961
  },
  "oklch": {
    "l": 0.5111,
    "c": 0.18018,
    "h": 357.9
  },
  "luminance": 0.11576
}

Semantic roles & 50–950 ramp

primary
#B02666
secondary
#6BC79C
accent
#E79A40
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D

Preview Lab

Preview with #B02666

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

Preview Lab → · Contrast checker → · Palette generator →

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