#B42762#B42762

#B42762 is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.7% C 0.181 H 1.0°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#B42762
RGBrgb(180, 39, 98)
HSLhsl(335, 64%, 43%)
HSVhsv(335, 78%, 71%)
CMYKcmyk(0%, 78.3%, 45.6%, 29.4%)
CIE-LABlab(41.28, 58.96, 0.96)
CIE-LCHlch(41.28, 58.97, 0.93°)
OKLaboklab(51.75% 0.1811 0.0031)
OKLCHoklch(51.75% 0.181 1)
XYZxyz(21.7543, 12.0391, 12.7311)
Luminance0.1204 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42762 #27B479
analogous
#B427A8 #B42762 #B43327
triadic
#B42762 #62B427 #2762B4
tetradic
#B42762 #A8B427 #27B479 #3327B4
square
#B42762 #A8B427 #27B479 #3327B4
split-complementary
#B42762 #27B433 #27A8B4
monochromatic
#4F112B #821C47 #B42762 #D64280 #E174A2

Accessibility & contrast

On white

6.16
#B42762 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#B42762 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42762
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42762#FFFFFF#000000##FFFFFF
##B427621.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495063
Deuteranopia (green-blind)
#6E6B5F
Tritanopia (blue-blind)
#C40441
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b42762;
/* rgb */ color: rgb(180, 39, 98);
/* oklch */ color: oklch(51.7% 0.181 1.0);
Tailwind
colors: {
  custom: {
    50: '#d0708e',
    500: '#b42762',
    950: '#000000',
  },
}
SCSS
$custom: #b42762;
$custom-light: #d0708e;
$custom-dark: #000000;
JSON
{
  "hex": "#b42762",
  "rgb": {
    "r": 180,
    "g": 39,
    "b": 98
  },
  "hsl": {
    "h": 334.894,
    "s": 64.384,
    "l": 42.941
  },
  "oklch": {
    "l": 0.5175,
    "c": 0.18109,
    "h": 1
  },
  "luminance": 0.12036
}

Semantic roles & 50–950 ramp

primary
#B42762
secondary
#6FC8A3
accent
#E7A240
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15080C
muted
#837B7D

Preview Lab

Preview with #B42762

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

Preview Lab → · Contrast checker → · Palette generator →

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