#B52862#B52862

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

Color values

HEX#B52862
RGBrgb(181, 40, 98)
HSLhsl(335, 64%, 43%)
HSVhsv(335, 78%, 71%)
CMYKcmyk(0%, 77.9%, 45.9%, 29%)
CIE-LABlab(41.57, 58.93, 1.41)
CIE-LCHlch(41.57, 58.95, 1.37°)
OKLaboklab(52% 0.1809 0.0043)
OKLCHoklch(52% 0.181 1.4)
XYZxyz(22.0212, 12.2261, 12.7532)
Luminance0.1222 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52862 #28B57B
analogous
#B528A8 #B52862 #B53428
triadic
#B52862 #62B528 #2862B5
tetradic
#B52862 #A8B528 #28B57B #3428B5
square
#B52862 #A8B528 #28B57B #3428B5
split-complementary
#B52862 #28B534 #28A8B5
monochromatic
#51122C #831D47 #B52862 #D64480 #E177A2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B52862#FFFFFF#000000##FFFFFF
##B528621.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)
#4A5163
Deuteranopia (green-blind)
#6F6C5F
Tritanopia (blue-blind)
#C50542
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b52862;
/* rgb */ color: rgb(181, 40, 98);
/* oklch */ color: oklch(52.0% 0.181 1.4);
Tailwind
colors: {
  custom: {
    50: '#d1708e',
    500: '#b52862',
    950: '#000000',
  },
}
SCSS
$custom: #b52862;
$custom-light: #d1708e;
$custom-dark: #000000;
JSON
{
  "hex": "#b52862",
  "rgb": {
    "r": 181,
    "g": 40,
    "b": 98
  },
  "hsl": {
    "h": 335.319,
    "s": 63.801,
    "l": 43.333
  },
  "oklch": {
    "l": 0.52001,
    "c": 0.18097,
    "h": 1.4
  },
  "luminance": 0.12223
}

Semantic roles & 50–950 ramp

primary
#B52862
secondary
#70C8A4
accent
#E7A341
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15080C
muted
#837B7D

Preview Lab

Preview with #B52862

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

Preview Lab → · Contrast checker → · Palette generator →

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