#B24277#B24277

#B24277 is a mid, vivid pink. Relative luminance 0.147; OKLCH L 54.8% C 0.155 H 354.1°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#B24277
RGBrgb(178, 66, 119)
HSLhsl(332, 46%, 48%)
HSVhsv(332, 63%, 70%)
CMYKcmyk(0%, 62.9%, 33.1%, 30.2%)
CIE-LABlab(45.21, 50.58, -6.30)
CIE-LCHlch(45.21, 50.97, 352.90°)
OKLaboklab(54.8% 0.1542 -0.016)
OKLCHoklch(54.8% 0.155 354.1)
XYZxyz(23.6393, 14.6958, 19.0408)
Luminance0.1469 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B24277 #42B27D
analogous
#B242AF #B24277 #B24542
triadic
#B24277 #77B242 #4277B2
tetradic
#B24277 #AFB242 #42B27D #4542B2
square
#B24277 #AFB242 #42B27D #4542B2
split-complementary
#B24277 #42B245 #42AFB2
monochromatic
#59213B #853159 #B24277 #C86A96 #D896B5

Accessibility & contrast

On white

5.33
#B24277 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#B24277 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B24277
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B24277#FFFFFF#000000##FFFFFF
##B242771.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#535E79
Deuteranopia (green-blind)
#727374
Tritanopia (blue-blind)
#BF3B57
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b24277;
/* rgb */ color: rgb(178, 66, 119);
/* oklch */ color: oklch(54.8% 0.155 354.1);
Tailwind
colors: {
  custom: {
    50: '#cd7d9e',
    500: '#b24277',
    950: '#000000',
  },
}
SCSS
$custom: #b24277;
$custom-light: #cd7d9e;
$custom-dark: #000000;
JSON
{
  "hex": "#b24277",
  "rgb": {
    "r": 178,
    "g": 66,
    "b": 119
  },
  "hsl": {
    "h": 331.607,
    "s": 45.902,
    "l": 47.843
  },
  "oklch": {
    "l": 0.54804,
    "c": 0.15506,
    "h": 354.1
  },
  "luminance": 0.14693
}

Semantic roles & 50–950 ramp

primary
#B24277
secondary
#8CC4A9
accent
#D69752
background
#FDF7F9
surface
#FAEEF2
border
#D3C9CC
text
#140A0E
muted
#837C7E

Preview Lab

Preview with #B24277

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

Preview Lab → · Contrast checker → · Palette generator →

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