#B02266#B02266

#B02266 is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.8% C 0.184 H 357.5°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#B02266
RGBrgb(176, 34, 102)
HSLhsl(331, 68%, 41%)
HSVhsv(331, 81%, 69%)
CMYKcmyk(0%, 80.7%, 42%, 31%)
CIE-LABlab(40.14, 59.69, -3.32)
CIE-LCHlch(40.14, 59.78, 356.82°)
OKLaboklab(50.82% 0.1837 -0.008)
OKLCHoklch(50.82% 0.184 357.5)
XYZxyz(20.8764, 11.3362, 13.6566)
Luminance0.1133 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02266 #22B06C
analogous
#B022AD #B02266 #B02522
triadic
#B02266 #66B022 #2266B0
tetradic
#B02266 #ADB022 #22B06C #2522B0
square
#B02266 #ADB022 #22B06C #2522B0
split-complementary
#B02266 #22B025 #22ADB0
monochromatic
#490E2B #7D1848 #B02266 #D83784 #E26AA4

Accessibility & contrast

On white

6.43
#B02266 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#B02266 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02266
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02266#FFFFFF#000000##FFFFFF
##B022661.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434E68
Deuteranopia (green-blind)
#6A6863
Tritanopia (blue-blind)
#BF0241
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b02266;
/* rgb */ color: rgb(176, 34, 102);
/* oklch */ color: oklch(50.8% 0.184 357.5);
Tailwind
colors: {
  custom: {
    50: '#cd6d91',
    500: '#b02266',
    950: '#000000',
  },
}
SCSS
$custom: #b02266;
$custom-light: #cd6d91;
$custom-dark: #000000;
JSON
{
  "hex": "#b02266",
  "rgb": {
    "r": 176,
    "g": 34,
    "b": 102
  },
  "hsl": {
    "h": 331.268,
    "s": 67.619,
    "l": 41.176
  },
  "oklch": {
    "l": 0.5082,
    "c": 0.18385,
    "h": 357.5
  },
  "luminance": 0.11333
}

Semantic roles & 50–950 ramp

primary
#B02266
secondary
#66C899
accent
#EA983D
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D

Preview Lab

Preview with #B02266

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

Preview Lab → · Contrast checker → · Palette generator →

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