#B05271#B05271

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

Color values

HEX#B05271
RGBrgb(176, 82, 113)
HSLhsl(340, 37%, 51%)
HSVhsv(340, 53%, 69%)
CMYKcmyk(0%, 53.4%, 35.8%, 31%)
CIE-LABlab(47.57, 41.59, 0.79)
CIE-LCHlch(47.57, 41.60, 1.09°)
OKLaboklab(56.44% 0.1265 0.0026)
OKLCHoklch(56.44% 0.127 1.2)
XYZxyz(23.9036, 16.4593, 17.5377)
Luminance0.1646 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B05271 #52B091
analogous
#B052A0 #B05271 #B06252
triadic
#B05271 #71B052 #5271B0
tetradic
#B05271 #A0B052 #52B091 #6252B0
square
#B05271 #A0B052 #52B091 #6252B0
split-complementary
#B05271 #52B062 #52A0B0
monochromatic
#5D2B3B #873E56 #B05271 #C37C93 #D6A6B6

Accessibility & contrast

On white

4.89
#B05271 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#B05271 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B05271
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B05271#FFFFFF#000000##FFFFFF
##B052711.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#626672
Deuteranopia (green-blind)
#7A786F
Tritanopia (blue-blind)
#BD4A5D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b05271;
/* rgb */ color: rgb(176, 82, 113);
/* oklch */ color: oklch(56.4% 0.127 1.2);
Tailwind
colors: {
  custom: {
    50: '#cb8699',
    500: '#b05271',
    950: '#000000',
  },
}
SCSS
$custom: #b05271;
$custom-light: #cb8699;
$custom-dark: #000000;
JSON
{
  "hex": "#b05271",
  "rgb": {
    "r": 176,
    "g": 82,
    "b": 113
  },
  "hsl": {
    "h": 340.213,
    "s": 37.302,
    "l": 50.588
  },
  "oklch": {
    "l": 0.56439,
    "c": 0.12655,
    "h": 1.2
  },
  "luminance": 0.16457
}

Semantic roles & 50–950 ramp

primary
#B05271
secondary
#9AC4B6
accent
#CDA75B
background
#FCF8F9
surface
#F9F0F2
border
#D2CBCC
text
#140B0E
muted
#827C7E

Preview Lab

Preview with #B05271

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

Preview Lab → · Contrast checker → · Palette generator →

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