#B15CA2#B15CA2

#B15CA2 is a mid, vivid pink. Relative luminance 0.196; OKLCH L 59.9% C 0.141 H 334.2°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#B15CA2
RGBrgb(177, 92, 162)
HSLhsl(311, 35%, 53%)
HSVhsv(311, 48%, 69%)
CMYKcmyk(0%, 48%, 8.5%, 30.6%)
CIE-LABlab(51.40, 44.09, -22.68)
CIE-LCHlch(51.40, 49.58, 332.77°)
OKLaboklab(59.89% 0.1269 -0.0614)
OKLCHoklch(59.89% 0.141 334.2)
XYZxyz(28.4802, 19.6118, 36.4608)
Luminance0.1961 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B15CA2 #5CB16B
analogous
#955CB1 #B15CA2 #B15C77
triadic
#B15CA2 #A2B15C #5CA2B1
tetradic
#B15CA2 #B1955C #5CB16B #5C77B1
square
#B15CA2 #B1955C #5CB16B #5C77B1
split-complementary
#B15CA2 #77B15C #5CB195
monochromatic
#632F5A #8D4380 #B15CA2 #C585BA #D9AFD1

Accessibility & contrast

On white

4.27
#B15CA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#B15CA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B15CA2
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B15CA2#FFFFFF#000000##000000
##B15CA21.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B73A4
Deuteranopia (green-blind)
#737FA0
Tritanopia (blue-blind)
#B86177
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b15ca2;
/* rgb */ color: rgb(177, 92, 162);
/* oklch */ color: oklch(59.9% 0.141 334.2);
Tailwind
colors: {
  custom: {
    50: '#ca8dbd',
    500: '#b15ca2',
    950: '#000000',
  },
}
SCSS
$custom: #b15ca2;
$custom-light: #ca8dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#b15ca2",
  "rgb": {
    "r": 177,
    "g": 92,
    "b": 162
  },
  "hsl": {
    "h": 310.588,
    "s": 35.27,
    "l": 52.745
  },
  "oklch": {
    "l": 0.59894,
    "c": 0.14096,
    "h": 334.2
  },
  "luminance": 0.1961
}

Semantic roles & 50–950 ramp

primary
#B15CA2
secondary
#A2C7A8
accent
#CB705C
background
#FCF8FB
surface
#F9F0F6
border
#D2CBD0
text
#130C12
muted
#827D81

Preview Lab

Preview with #B15CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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