#B24271#B24271

#B24271 is a mid, vivid pink. Relative luminance 0.146; OKLCH L 54.6% C 0.152 H 357.4°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#B24271
RGBrgb(178, 66, 113)
HSLhsl(335, 46%, 48%)
HSVhsv(335, 63%, 70%)
CMYKcmyk(0%, 62.9%, 36.5%, 30.2%)
CIE-LABlab(45.02, 49.86, -2.91)
CIE-LCHlch(45.02, 49.95, 356.66°)
OKLaboklab(54.6% 0.1523 -0.007)
OKLCHoklch(54.6% 0.152 357.4)
XYZxyz(23.2903, 14.5562, 17.2027)
Luminance0.1455 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B24271 #42B283
analogous
#B242A9 #B24271 #B24B42
triadic
#B24271 #71B242 #4271B2
tetradic
#B24271 #A9B242 #42B283 #4B42B2
square
#B24271 #A9B242 #42B283 #4B42B2
split-complementary
#B24271 #42B24B #42A9B2
monochromatic
#592138 #853155 #B24271 #C86A91 #D896B2

Accessibility & contrast

On white

5.37
#B24271 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#B24271 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B24271
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B24271#FFFFFF#000000##FFFFFF
##B242711.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#555D72
Deuteranopia (green-blind)
#73726E
Tritanopia (blue-blind)
#C03855
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b24271;
/* rgb */ color: rgb(178, 66, 113);
/* oklch */ color: oklch(54.6% 0.152 357.4);
Tailwind
colors: {
  custom: {
    50: '#cd7d99',
    500: '#b24271',
    950: '#000000',
  },
}
SCSS
$custom: #b24271;
$custom-light: #cd7d99;
$custom-dark: #000000;
JSON
{
  "hex": "#b24271",
  "rgb": {
    "r": 178,
    "g": 66,
    "b": 113
  },
  "hsl": {
    "h": 334.821,
    "s": 45.902,
    "l": 47.843
  },
  "oklch": {
    "l": 0.54596,
    "c": 0.15246,
    "h": 357.4
  },
  "luminance": 0.14554
}

Semantic roles & 50–950 ramp

primary
#B24271
secondary
#8CC4AC
accent
#D69E52
background
#FDF7F9
surface
#FAEEF2
border
#D3C9CC
text
#140A0E
muted
#837C7E

Preview Lab

Preview with #B24271

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

Preview Lab → · Contrast checker → · Palette generator →

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