#B02062#B02062

#B02062 is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.5% C 0.184 H 359.2°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#B02062
RGBrgb(176, 32, 98)
HSLhsl(333, 69%, 41%)
HSVhsv(333, 82%, 69%)
CMYKcmyk(0%, 81.8%, 44.3%, 31%)
CIE-LABlab(39.83, 59.83, -1.25)
CIE-LCHlch(39.83, 59.85, 358.80°)
OKLaboklab(50.55% 0.1841 -0.0026)
OKLCHoklch(50.55% 0.184 359.2)
XYZxyz(20.6273, 11.1478, 12.6184)
Luminance0.1114 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02062 #20B06E
analogous
#B020AA #B02062 #B02620
triadic
#B02062 #62B020 #2062B0
tetradic
#B02062 #AAB020 #20B06E #2620B0
square
#B02062 #AAB020 #20B06E #2620B0
split-complementary
#B02062 #20B026 #20AAB0
monochromatic
#480D28 #7C1745 #B02062 #DA3380 #E367A0

Accessibility & contrast

On white

6.50
#B02062 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#B02062 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02062
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02062#FFFFFF#000000##FFFFFF
##B020621.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434C64
Deuteranopia (green-blind)
#6A685F
Tritanopia (blue-blind)
#BF003F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b02062;
/* rgb */ color: rgb(176, 32, 98);
/* oklch */ color: oklch(50.5% 0.184 359.2);
Tailwind
colors: {
  custom: {
    50: '#cd6d8e',
    500: '#b02062',
    950: '#000000',
  },
}
SCSS
$custom: #b02062;
$custom-light: #cd6d8e;
$custom-dark: #000000;
JSON
{
  "hex": "#b02062",
  "rgb": {
    "r": 176,
    "g": 32,
    "b": 98
  },
  "hsl": {
    "h": 332.5,
    "s": 69.231,
    "l": 40.784
  },
  "oklch": {
    "l": 0.50549,
    "c": 0.18412,
    "h": 359.2
  },
  "luminance": 0.11145
}

Semantic roles & 50–950 ramp

primary
#B02062
secondary
#63C99A
accent
#EC9B3C
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#15080C
muted
#837B7D

Preview Lab

Preview with #B02062

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

Preview Lab → · Contrast checker → · Palette generator →

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