#B25871#B25871

#B25871 is a mid, moderate pink. Relative luminance 0.176; OKLCH L 57.6% C 0.119 H 3.9°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#B25871
RGBrgb(178, 88, 113)
HSLhsl(343, 37%, 52%)
HSVhsv(343, 51%, 70%)
CMYKcmyk(0%, 50.6%, 36.5%, 30.2%)
CIE-LABlab(49.06, 39.23, 2.98)
CIE-LCHlch(49.06, 39.34, 4.34°)
OKLaboklab(57.62% 0.1192 0.0082)
OKLCHoklch(57.62% 0.119 3.9)
XYZxyz(24.8317, 17.6390, 17.7165)
Luminance0.1764 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B25871 #58B299
analogous
#B2589E #B25871 #B26C58
triadic
#B25871 #71B258 #5871B2
tetradic
#B25871 #9EB258 #58B299 #6C58B2
square
#B25871 #9EB258 #58B299 #6C58B2
split-complementary
#B25871 #58B26C #589EB2
monochromatic
#622D3C #8C4156 #B25871 #C58295 #D9ACB8

Accessibility & contrast

On white

4.64
#B25871 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#B25871 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B25871
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B25871#FFFFFF#000000##FFFFFF
##B258711.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#676A72
Deuteranopia (green-blind)
#7E7B6F
Tritanopia (blue-blind)
#BF5061
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b25871;
/* rgb */ color: rgb(178, 88, 113);
/* oklch */ color: oklch(57.6% 0.119 3.9);
Tailwind
colors: {
  custom: {
    50: '#cc8a99',
    500: '#b25871',
    950: '#000000',
  },
}
SCSS
$custom: #b25871;
$custom-light: #cc8a99;
$custom-dark: #000000;
JSON
{
  "hex": "#b25871",
  "rgb": {
    "r": 178,
    "g": 88,
    "b": 113
  },
  "hsl": {
    "h": 343.333,
    "s": 36.885,
    "l": 52.157
  },
  "oklch": {
    "l": 0.57616,
    "c": 0.11949,
    "h": 3.9
  },
  "luminance": 0.17637
}

Semantic roles & 50–950 ramp

primary
#B25871
secondary
#9FC7BC
accent
#CDAD5B
background
#FCF8F9
surface
#F9F0F2
border
#D2CBCC
text
#140C0E
muted
#827D7E

Preview Lab

Preview with #B25871

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

Preview Lab → · Contrast checker → · Palette generator →

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