#B02766#B02766

#B02766 is a mid, vivid pink. Relative luminance 0.116; OKLCH L 51.2% C 0.179 H 358.1°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#B02766
RGBrgb(176, 39, 102)
HSLhsl(332, 64%, 42%)
HSVhsv(332, 78%, 69%)
CMYKcmyk(0%, 77.8%, 42%, 31%)
CIE-LABlab(40.64, 58.26, -2.58)
CIE-LCHlch(40.64, 58.32, 357.47°)
OKLaboklab(51.19% 0.1791 -0.006)
OKLCHoklch(51.19% 0.179 358.1)
XYZxyz(21.0299, 11.6432, 13.7077)
Luminance0.1164 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02766 #27B071
analogous
#B027AB #B02766 #B02D27
triadic
#B02766 #66B027 #2766B0
tetradic
#B02766 #ABB027 #27B071 #2D27B0
square
#B02766 #ABB027 #27B071 #2D27B0
split-complementary
#B02766 #27B02D #27ABB0
monochromatic
#4C112C #7E1C49 #B02766 #D54084 #E072A4

Accessibility & contrast

On white

6.31
#B02766 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#B02766 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02766
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02766#FFFFFF#000000##FFFFFF
##B027661.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b02766;
/* rgb */ color: rgb(176, 39, 102);
/* oklch */ color: oklch(51.2% 0.179 358.1);
Tailwind
colors: {
  custom: {
    50: '#cd6f91',
    500: '#b02766',
    950: '#000000',
  },
}
SCSS
$custom: #b02766;
$custom-light: #cd6f91;
$custom-dark: #000000;
JSON
{
  "hex": "#b02766",
  "rgb": {
    "r": 176,
    "g": 39,
    "b": 102
  },
  "hsl": {
    "h": 332.409,
    "s": 63.721,
    "l": 42.157
  },
  "oklch": {
    "l": 0.51187,
    "c": 0.17921,
    "h": 358.1
  },
  "luminance": 0.1164
}

Semantic roles & 50–950 ramp

primary
#B02766
secondary
#6CC79D
accent
#E79B41
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D

Preview Lab

Preview with #B02766

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

Preview Lab → · Contrast checker → · Palette generator →

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