#B42F95#B42F95

#B42F95 is a mid, vivid pink. Relative luminance 0.139; OKLCH L 54.4% C 0.199 H 339.1°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#B42F95
RGBrgb(180, 47, 149)
HSLhsl(314, 59%, 45%)
HSVhsv(314, 74%, 71%)
CMYKcmyk(0%, 73.9%, 17.2%, 29.4%)
CIE-LABlab(44.10, 62.43, -26.20)
CIE-LCHlch(44.10, 67.70, 337.23°)
OKLaboklab(54.44% 0.1855 -0.0709)
OKLCHoklch(54.44% 0.199 339.1)
XYZxyz(25.2643, 13.9087, 29.7820)
Luminance0.1391 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42F95 #2FB44E
analogous
#912FB4 #B42F95 #B42F53
triadic
#B42F95 #95B42F #2F95B4
tetradic
#B42F95 #B4912F #2FB44E #2F53B4
square
#B42F95 #B4912F #2FB44E #2F53B4
split-complementary
#B42F95 #53B42F #2FB491
monochromatic
#531645 #83226D #B42F95 #D14FB3 #DE80C8

Accessibility & contrast

On white

5.55
#B42F95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#B42F95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42F95
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42F95#FFFFFF#000000##FFFFFF
##B42F951.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375B98
Deuteranopia (green-blind)
#637092
Tritanopia (blue-blind)
#BE355E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b42f95;
/* rgb */ color: rgb(180, 47, 149);
/* oklch */ color: oklch(54.4% 0.199 339.1);
Tailwind
colors: {
  custom: {
    50: '#ce75b4',
    500: '#b42f95',
    950: '#000000',
  },
}
SCSS
$custom: #b42f95;
$custom-light: #ce75b4;
$custom-dark: #000000;
JSON
{
  "hex": "#b42f95",
  "rgb": {
    "r": 180,
    "g": 47,
    "b": 149
  },
  "hsl": {
    "h": 313.985,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.54442,
    "c": 0.19859,
    "h": 339.1
  },
  "luminance": 0.13906
}

Semantic roles & 50–950 ramp

primary
#B42F95
secondary
#78C78A
accent
#E26A46
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B42F95

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

Preview Lab → · Contrast checker → · Palette generator →

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