#B12495#B12495

#B12495 is a mid, highly saturated pink. Relative luminance 0.128; OKLCH L 53.1% C 0.208 H 337.8°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#B12495
RGBrgb(177, 36, 149)
HSLhsl(312, 66%, 42%)
HSVhsv(312, 80%, 69%)
CMYKcmyk(0%, 79.7%, 15.8%, 30.6%)
CIE-LABlab(42.43, 64.99, -28.85)
CIE-LCHlch(42.43, 71.11, 336.06°)
OKLaboklab(53.14% 0.1925 -0.0784)
OKLCHoklch(53.14% 0.208 337.8)
XYZxyz(24.1877, 12.7812, 29.6211)
Luminance0.1278 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12495 #24B140
analogous
#8724B1 #B12495 #B1244F
triadic
#B12495 #95B124 #2495B1
tetradic
#B12495 #B18724 #24B140 #244FB1
square
#B12495 #B18724 #24B140 #244FB1
split-complementary
#B12495 #4FB124 #24B187
monochromatic
#4B0F3F #7E1A6A #B12495 #D73BB8 #E16ECB

Accessibility & contrast

On white

5.91
#B12495 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B12495
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12495#FFFFFF#000000##FFFFFF
##B124951.005.913.565.91
#FFFFFF5.911.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5698
Deuteranopia (green-blind)
#5C6C92
Tritanopia (blue-blind)
#BB2D5B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b12495;
/* rgb */ color: rgb(177, 36, 149);
/* oklch */ color: oklch(53.1% 0.208 337.8);
Tailwind
colors: {
  custom: {
    50: '#cc70b4',
    500: '#b12495',
    950: '#000000',
  },
}
SCSS
$custom: #b12495;
$custom-light: #cc70b4;
$custom-dark: #000000;
JSON
{
  "hex": "#b12495",
  "rgb": {
    "r": 177,
    "g": 36,
    "b": 149
  },
  "hsl": {
    "h": 311.915,
    "s": 66.197,
    "l": 41.765
  },
  "oklch": {
    "l": 0.53139,
    "c": 0.20784,
    "h": 337.8
  },
  "luminance": 0.12779
}

Semantic roles & 50–950 ramp

primary
#B12495
secondary
#69C87C
accent
#E9613F
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B12495

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

Preview Lab → · Contrast checker → · Palette generator →

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