#B02B8A#B02B8A

#B02B8A is a mid, vivid pink. Relative luminance 0.128; OKLCH L 53.0% C 0.193 H 342.1°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#B02B8A
RGBrgb(176, 43, 138)
HSLhsl(317, 61%, 43%)
HSVhsv(317, 76%, 69%)
CMYKcmyk(0%, 75.6%, 21.6%, 31%)
CIE-LABlab(42.45, 61.23, -22.14)
CIE-LCHlch(42.45, 65.11, 340.12°)
OKLaboklab(52.96% 0.184 -0.0595)
OKLCHoklch(52.96% 0.193 342.1)
XYZxyz(23.3566, 12.7953, 25.2795)
Luminance0.1279 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02B8A #2BB051
analogous
#932BB0 #B02B8A #B02B47
triadic
#B02B8A #8AB02B #2B8AB0
tetradic
#B02B8A #B0932B #2BB051 #2B47B0
square
#B02B8A #B0932B #2BB051 #2B47B0
split-complementary
#B02B8A #47B02B #2BB093
monochromatic
#4E133D #7F1F63 #B02B8A #D246AA #DE78C1

Accessibility & contrast

On white

5.90
#B02B8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#B02B8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02B8A
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02B8A#FFFFFF#000000##FFFFFF
##B02B8A1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38568D
Deuteranopia (green-blind)
#626C87
Tritanopia (blue-blind)
#BB2D57
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b02b8a;
/* rgb */ color: rgb(176, 43, 138);
/* oklch */ color: oklch(53.0% 0.193 342.1);
Tailwind
colors: {
  custom: {
    50: '#cc72ac',
    500: '#b02b8a',
    950: '#000000',
  },
}
SCSS
$custom: #b02b8a;
$custom-light: #cc72ac;
$custom-dark: #000000;
JSON
{
  "hex": "#b02b8a",
  "rgb": {
    "r": 176,
    "g": 43,
    "b": 138
  },
  "hsl": {
    "h": 317.143,
    "s": 60.731,
    "l": 42.941
  },
  "oklch": {
    "l": 0.52955,
    "c": 0.19335,
    "h": 342.1
  },
  "luminance": 0.12793
}

Semantic roles & 50–950 ramp

primary
#B02B8A
secondary
#71C689
accent
#E47244
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B02B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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