#B02662#B02662

#B02662 is a mid, vivid pink. Relative luminance 0.115; OKLCH L 51.0% C 0.179 H 359.9°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#B02662
RGBrgb(176, 38, 98)
HSLhsl(334, 64%, 42%)
HSVhsv(334, 78%, 69%)
CMYKcmyk(0%, 78.4%, 44.3%, 31%)
CIE-LABlab(40.41, 58.17, -0.40)
CIE-LCHlch(40.41, 58.18, 359.61°)
OKLaboklab(50.98% 0.1788 -0.0004)
OKLCHoklch(50.98% 0.179 359.9)
XYZxyz(20.8039, 11.5009, 12.6773)
Luminance0.1150 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02662 #26B074
analogous
#B026A7 #B02662 #B02F26
triadic
#B02662 #62B026 #2662B0
tetradic
#B02662 #A7B026 #26B074 #2F26B0
square
#B02662 #A7B026 #26B074 #2F26B0
split-complementary
#B02662 #26B02F #26A7B0
monochromatic
#4B102A #7E1B46 #B02662 #D53E80 #E070A1

Accessibility & contrast

On white

6.36
#B02662 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#B02662 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02662
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02662#FFFFFF#000000##FFFFFF
##B026621.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464E63
Deuteranopia (green-blind)
#6B695F
Tritanopia (blue-blind)
#BF0741
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b02662;
/* rgb */ color: rgb(176, 38, 98);
/* oklch */ color: oklch(51.0% 0.179 359.9);
Tailwind
colors: {
  custom: {
    50: '#cd6f8e',
    500: '#b02662',
    950: '#000000',
  },
}
SCSS
$custom: #b02662;
$custom-light: #cd6f8e;
$custom-dark: #000000;
JSON
{
  "hex": "#b02662",
  "rgb": {
    "r": 176,
    "g": 38,
    "b": 98
  },
  "hsl": {
    "h": 333.913,
    "s": 64.486,
    "l": 41.961
  },
  "oklch": {
    "l": 0.50976,
    "c": 0.17876,
    "h": 359.9
  },
  "luminance": 0.11498
}

Semantic roles & 50–950 ramp

primary
#B02662
secondary
#6BC79F
accent
#E79F40
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#15080C
muted
#837B7D

Preview Lab

Preview with #B02662

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

Preview Lab → · Contrast checker → · Palette generator →

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