#C050B4#C050B4

#C050B4 is a mid, vivid purple. Relative luminance 0.202; OKLCH L 61.1% C 0.186 H 331.9°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#C050B4
RGBrgb(192, 80, 180)
HSLhsl(306, 47%, 53%)
HSVhsv(306, 58%, 75%)
CMYKcmyk(0%, 58.3%, 6.2%, 24.7%)
CIE-LABlab(52.11, 57.30, -31.93)
CIE-LCHlch(52.11, 65.59, 330.87°)
OKLaboklab(61.11% 0.1638 -0.0873)
OKLCHoklch(61.11% 0.186 331.9)
XYZxyz(32.8450, 20.2414, 45.3482)
Luminance0.2024 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C050B4 #50C05C
analogous
#9450C0 #C050B4 #C0507C
triadic
#C050B4 #B4C050 #50B4C0
tetradic
#C050B4 #C09450 #50C05C #507CC0
square
#C050B4 #C09450 #50C05C #507CC0
split-complementary
#C050B4 #7CC050 #50C094
monochromatic
#6E2866 #9B3890 #C050B4 #D07DC7 #E0AADB

Accessibility & contrast

On white

4.16
#C050B4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#C050B4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C050B4
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C050B4#FFFFFF#000000##000000
##C050B41.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B72B7
Deuteranopia (green-blind)
#6F82B1
Tritanopia (blue-blind)
#C7597B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c050b4;
/* rgb */ color: rgb(192, 80, 180);
/* oklch */ color: oklch(61.1% 0.186 331.9);
Tailwind
colors: {
  custom: {
    50: '#d687cb',
    500: '#c050b4',
    950: '#000000',
  },
}
SCSS
$custom: #c050b4;
$custom-light: #d687cb;
$custom-dark: #000000;
JSON
{
  "hex": "#c050b4",
  "rgb": {
    "r": 192,
    "g": 80,
    "b": 180
  },
  "hsl": {
    "h": 306.429,
    "s": 47.059,
    "l": 53.333
  },
  "oklch": {
    "l": 0.61108,
    "c": 0.18559,
    "h": 331.9
  },
  "luminance": 0.20239
}

Semantic roles & 50–950 ramp

primary
#C050B4
secondary
#9ECEA3
accent
#D75F51
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C13
muted
#837D82

Preview Lab

Preview with #C050B4

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

Preview Lab → · Contrast checker → · Palette generator →

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