#B12482#B12482

#B12482 is a mid, vivid pink. Relative luminance 0.122; OKLCH L 52.2% C 0.196 H 345.4°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#B12482
RGBrgb(177, 36, 130)
HSLhsl(320, 66%, 42%)
HSVhsv(320, 80%, 69%)
CMYKcmyk(0%, 79.7%, 26.6%, 30.6%)
CIE-LABlab(41.57, 62.50, -18.59)
CIE-LCHlch(41.57, 65.20, 343.44°)
OKLaboklab(52.24% 0.1898 -0.0494)
OKLCHoklch(52.24% 0.196 345.4)
XYZxyz(22.7926, 12.2231, 22.2738)
Luminance0.1222 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12482 #24B153
analogous
#9A24B1 #B12482 #B1243C
triadic
#B12482 #82B124 #2482B1
tetradic
#B12482 #B19A24 #24B153 #243CB1
square
#B12482 #B19A24 #24B153 #243CB1
split-complementary
#B12482 #3CB124 #24B19A
monochromatic
#4B0F37 #7E1A5D #B12482 #D73BA3 #E16EBB

Accessibility & contrast

On white

6.10
#B12482 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#B12482 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12482
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12482#FFFFFF#000000##FFFFFF
##B124821.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385384
Deuteranopia (green-blind)
#636B7F
Tritanopia (blue-blind)
#BD2151
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b12482;
/* rgb */ color: rgb(177, 36, 130);
/* oklch */ color: oklch(52.2% 0.196 345.4);
Tailwind
colors: {
  custom: {
    50: '#cd6fa6',
    500: '#b12482',
    950: '#000000',
  },
}
SCSS
$custom: #b12482;
$custom-light: #cd6fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#b12482",
  "rgb": {
    "r": 177,
    "g": 36,
    "b": 130
  },
  "hsl": {
    "h": 320,
    "s": 66.197,
    "l": 41.765
  },
  "oklch": {
    "l": 0.52235,
    "c": 0.19616,
    "h": 345.4
  },
  "luminance": 0.12221
}

Semantic roles & 50–950 ramp

primary
#B12482
secondary
#69C889
accent
#E9773F
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14080F
muted
#837B7F

Preview Lab

Preview with #B12482

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

Preview Lab → · Contrast checker → · Palette generator →

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