#B42F63#B42F63

#B42F63 is a mid, vivid pink. Relative luminance 0.126; OKLCH L 52.4% C 0.173 H 1.7°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#B42F63
RGBrgb(180, 47, 99)
HSLhsl(337, 59%, 45%)
HSVhsv(337, 74%, 71%)
CMYKcmyk(0%, 73.9%, 45%, 29.4%)
CIE-LABlab(42.22, 56.50, 1.69)
CIE-LCHlch(42.22, 56.52, 1.72°)
OKLaboklab(52.45% 0.1732 0.005)
OKLCHoklch(52.45% 0.173 1.7)
XYZxyz(22.0928, 12.6401, 13.0784)
Luminance0.1264 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42F63 #2FB480
analogous
#B42FA6 #B42F63 #B43D2F
triadic
#B42F63 #63B42F #2F63B4
tetradic
#B42F63 #A6B42F #2FB480 #3D2FB4
square
#B42F63 #A6B42F #2FB480 #3D2FB4
split-complementary
#B42F63 #2FB43D #2FA6B4
monochromatic
#53162E #832248 #B42F63 #D14F82 #DE80A4

Accessibility & contrast

On white

5.95
#B42F63 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#B42F63 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42F63
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42F63#FFFFFF#000000##FFFFFF
##B42F631.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5364
Deuteranopia (green-blind)
#716D60
Tritanopia (blue-blind)
#C31845
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b42f63;
/* rgb */ color: rgb(180, 47, 99);
/* oklch */ color: oklch(52.4% 0.173 1.7);
Tailwind
colors: {
  custom: {
    50: '#d0738f',
    500: '#b42f63',
    950: '#000000',
  },
}
SCSS
$custom: #b42f63;
$custom-light: #d0738f;
$custom-dark: #000000;
JSON
{
  "hex": "#b42f63",
  "rgb": {
    "r": 180,
    "g": 47,
    "b": 99
  },
  "hsl": {
    "h": 336.541,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52449,
    "c": 0.17327,
    "h": 1.7
  },
  "luminance": 0.12637
}

Semantic roles & 50–950 ramp

primary
#B42F63
secondary
#78C7A8
accent
#E2A546
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#15090C
muted
#837B7D

Preview Lab

Preview with #B42F63

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

Preview Lab → · Contrast checker → · Palette generator →

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