#B95271#B95271

#B95271 is a mid, vivid pink. Relative luminance 0.175; OKLCH L 57.7% C 0.136 H 3.4°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#B95271
RGBrgb(185, 82, 113)
HSLhsl(342, 42%, 52%)
HSVhsv(342, 56%, 73%)
CMYKcmyk(0%, 55.7%, 38.9%, 27.5%)
CIE-LABlab(48.94, 44.70, 2.94)
CIE-LCHlch(48.94, 44.80, 3.76°)
OKLaboklab(57.74% 0.1361 0.0082)
OKLCHoklch(57.74% 0.136 3.4)
XYZxyz(26.0070, 17.5438, 17.6363)
Luminance0.1754 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B95271 #52B99A
analogous
#B952A4 #B95271 #B96752
triadic
#B95271 #71B952 #5271B9
tetradic
#B95271 #A4B952 #52B99A #6752B9
square
#B95271 #A4B952 #52B99A #6752B9
split-complementary
#B95271 #52B967 #52A4B9
monochromatic
#672A3C #933B56 #B95271 #CB7E95 #DCA9B9

Accessibility & contrast

On white

4.66
#B95271 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#B95271 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B95271
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B95271#FFFFFF#000000##FFFFFF
##B952711.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#656872
Deuteranopia (green-blind)
#7F7C6F
Tritanopia (blue-blind)
#C7485E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b95271;
/* rgb */ color: rgb(185, 82, 113);
/* oklch */ color: oklch(57.7% 0.136 3.4);
Tailwind
colors: {
  custom: {
    50: '#d28699',
    500: '#b95271',
    950: '#000000',
  },
}
SCSS
$custom: #b95271;
$custom-light: #d28699;
$custom-dark: #000000;
JSON
{
  "hex": "#b95271",
  "rgb": {
    "r": 185,
    "g": 82,
    "b": 113
  },
  "hsl": {
    "h": 341.942,
    "s": 42.387,
    "l": 52.353
  },
  "oklch": {
    "l": 0.57738,
    "c": 0.13634,
    "h": 3.4
  },
  "luminance": 0.17541
}

Semantic roles & 50–950 ramp

primary
#B95271
secondary
#9DCABC
accent
#D2AD56
background
#FDF8F9
surface
#FAF0F2
border
#D3CBCC
text
#140B0E
muted
#837C7E

Preview Lab

Preview with #B95271

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

Preview Lab → · Contrast checker → · Palette generator →

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