#B25CA2#B25CA2

#B25CA2 is a mid, vivid pink. Relative luminance 0.197; OKLCH L 60.0% C 0.142 H 334.6°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#B25CA2
RGBrgb(178, 92, 162)
HSLhsl(311, 36%, 53%)
HSVhsv(311, 48%, 70%)
CMYKcmyk(0%, 48.3%, 9%, 30.2%)
CIE-LABlab(51.53, 44.40, -22.47)
CIE-LCHlch(51.53, 49.76, 333.16°)
OKLaboklab(60.02% 0.128 -0.0608)
OKLCHoklch(60.02% 0.142 334.6)
XYZxyz(28.7088, 19.7297, 36.4715)
Luminance0.1973 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B25CA2 #5CB26C
analogous
#975CB2 #B25CA2 #B25C77
triadic
#B25CA2 #A2B25C #5CA2B2
tetradic
#B25CA2 #B2975C #5CB26C #5C77B2
square
#B25CA2 #B2975C #5CB26C #5C77B2
split-complementary
#B25CA2 #77B25C #5CB297
monochromatic
#642F5A #8E4380 #B25CA2 #C686BA #D9AFD1

Accessibility & contrast

On white

4.25
#B25CA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#B25CA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B25CA2
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B25CA2#FFFFFF#000000##000000
##B25CA21.004.254.954.95
#FFFFFF4.251.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C73A4
Deuteranopia (green-blind)
#747FA0
Tritanopia (blue-blind)
#B96077
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b25ca2;
/* rgb */ color: rgb(178, 92, 162);
/* oklch */ color: oklch(60.0% 0.142 334.6);
Tailwind
colors: {
  custom: {
    50: '#cb8dbd',
    500: '#b25ca2',
    950: '#000000',
  },
}
SCSS
$custom: #b25ca2;
$custom-light: #cb8dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#b25ca2",
  "rgb": {
    "r": 178,
    "g": 92,
    "b": 162
  },
  "hsl": {
    "h": 311.163,
    "s": 35.833,
    "l": 52.941
  },
  "oklch": {
    "l": 0.60022,
    "c": 0.14172,
    "h": 334.6
  },
  "luminance": 0.19728
}

Semantic roles & 50–950 ramp

primary
#B25CA2
secondary
#A2C7A9
accent
#CC715C
background
#FCF8FB
surface
#F9F0F6
border
#D2CBD0
text
#130C12
muted
#827D81

Preview Lab

Preview with #B25CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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