#B42F64#B42F64

#B42F64 is a mid, vivid pink. Relative luminance 0.127; OKLCH L 52.5% C 0.174 H 1.2°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#B42F64
RGBrgb(180, 47, 100)
HSLhsl(336, 59%, 45%)
HSVhsv(336, 74%, 71%)
CMYKcmyk(0%, 73.9%, 44.4%, 29.4%)
CIE-LABlab(42.25, 56.59, 1.11)
CIE-LCHlch(42.25, 56.60, 1.12°)
OKLaboklab(52.48% 0.1736 0.0035)
OKLCHoklch(52.48% 0.174 1.2)
XYZxyz(22.1409, 12.6593, 13.3317)
Luminance0.1266 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42F64 #2FB47F
analogous
#B42FA7 #B42F64 #B43D2F
triadic
#B42F64 #64B42F #2F64B4
tetradic
#B42F64 #A7B42F #2FB47F #3D2FB4
square
#B42F64 #A7B42F #2FB47F #3D2FB4
split-complementary
#B42F64 #2FB43D #2FA7B4
monochromatic
#53162E #832249 #B42F64 #D14F83 #DE80A5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B42F64#FFFFFF#000000##FFFFFF
##B42F641.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)
#4D5365
Deuteranopia (green-blind)
#706D61
Tritanopia (blue-blind)
#C31946
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b42f64;
/* rgb */ color: rgb(180, 47, 100);
/* oklch */ color: oklch(52.5% 0.174 1.2);
Tailwind
colors: {
  custom: {
    50: '#d07390',
    500: '#b42f64',
    950: '#000000',
  },
}
SCSS
$custom: #b42f64;
$custom-light: #d07390;
$custom-dark: #000000;
JSON
{
  "hex": "#b42f64",
  "rgb": {
    "r": 180,
    "g": 47,
    "b": 100
  },
  "hsl": {
    "h": 336.09,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.5248,
    "c": 0.17359,
    "h": 1.2
  },
  "luminance": 0.12656
}

Semantic roles & 50–950 ramp

primary
#B42F64
secondary
#78C7A7
accent
#E2A446
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#15090C
muted
#837B7D

Preview Lab

Preview with #B42F64

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

Preview Lab → · Contrast checker → · Palette generator →

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