#B02492#B02492

#B02492 is a mid, highly saturated pink. Relative luminance 0.126; OKLCH L 52.8% C 0.205 H 338.7°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#B02492
RGBrgb(176, 36, 146)
HSLhsl(313, 66%, 42%)
HSVhsv(313, 80%, 69%)
CMYKcmyk(0%, 79.5%, 17%, 31%)
CIE-LABlab(42.11, 64.35, -27.55)
CIE-LCHlch(42.11, 70.00, 336.82°)
OKLaboklab(52.83% 0.1913 -0.0747)
OKLCHoklch(52.83% 0.205 338.7)
XYZxyz(23.7243, 12.5695, 28.3653)
Luminance0.1257 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02492 #24B042
analogous
#8824B0 #B02492 #B0244C
triadic
#B02492 #92B024 #2492B0
tetradic
#B02492 #B08824 #24B042 #244CB0
square
#B02492 #B08824 #24B042 #244CB0
split-complementary
#B02492 #4CB024 #24B088
monochromatic
#4A0F3E #7D1A68 #B02492 #D73AB5 #E16DC8

Accessibility & contrast

On white

5.98
#B02492 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#B02492 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02492
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02492#FFFFFF#000000##FFFFFF
##B024921.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b02492;
/* rgb */ color: rgb(176, 36, 146);
/* oklch */ color: oklch(52.8% 0.205 338.7);
Tailwind
colors: {
  custom: {
    50: '#cc70b2',
    500: '#b02492',
    950: '#000000',
  },
}
SCSS
$custom: #b02492;
$custom-light: #cc70b2;
$custom-dark: #000000;
JSON
{
  "hex": "#b02492",
  "rgb": {
    "r": 176,
    "g": 36,
    "b": 146
  },
  "hsl": {
    "h": 312.857,
    "s": 66.038,
    "l": 41.569
  },
  "oklch": {
    "l": 0.52825,
    "c": 0.20534,
    "h": 338.7
  },
  "luminance": 0.12567
}

Semantic roles & 50–950 ramp

primary
#B02492
secondary
#68C87D
accent
#E9633F
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140811
muted
#837B80

Preview Lab

Preview with #B02492

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

Preview Lab → · Contrast checker → · Palette generator →

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