#B02493#B02493

#B02493 is a mid, highly saturated pink. Relative luminance 0.126; OKLCH L 52.9% C 0.206 H 338.3°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#B02493
RGBrgb(176, 36, 147)
HSLhsl(312, 66%, 42%)
HSVhsv(312, 80%, 69%)
CMYKcmyk(0%, 79.5%, 16.5%, 31%)
CIE-LABlab(42.16, 64.49, -28.08)
CIE-LCHlch(42.16, 70.34, 336.47°)
OKLaboklab(52.88% 0.1914 -0.0763)
OKLCHoklch(52.88% 0.206 338.3)
XYZxyz(23.8024, 12.6008, 28.7768)
Luminance0.1260 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02493 #24B041
analogous
#8724B0 #B02493 #B0244D
triadic
#B02493 #93B024 #2493B0
tetradic
#B02493 #B08724 #24B041 #244DB0
square
#B02493 #B08724 #24B041 #244DB0
split-complementary
#B02493 #4DB024 #24B087
monochromatic
#4A0F3E #7D1A69 #B02493 #D73AB6 #E16DC9

Accessibility & contrast

On white

5.97
#B02493 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#B02493 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02493
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02493#FFFFFF#000000##FFFFFF
##B024931.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5696
Deuteranopia (green-blind)
#5C6B90
Tritanopia (blue-blind)
#BA2C5A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b02493;
/* rgb */ color: rgb(176, 36, 147);
/* oklch */ color: oklch(52.9% 0.206 338.3);
Tailwind
colors: {
  custom: {
    50: '#cc70b3',
    500: '#b02493',
    950: '#000000',
  },
}
SCSS
$custom: #b02493;
$custom-light: #cc70b3;
$custom-dark: #000000;
JSON
{
  "hex": "#b02493",
  "rgb": {
    "r": 176,
    "g": 36,
    "b": 147
  },
  "hsl": {
    "h": 312.429,
    "s": 66.038,
    "l": 41.569
  },
  "oklch": {
    "l": 0.52876,
    "c": 0.20599,
    "h": 338.3
  },
  "luminance": 0.12598
}

Semantic roles & 50–950 ramp

primary
#B02493
secondary
#68C87C
accent
#E9623F
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140811
muted
#837B80

Preview Lab

Preview with #B02493

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

Preview Lab → · Contrast checker → · Palette generator →

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