#C050B2#C050B2

#C050B2 is a mid, vivid purple. Relative luminance 0.202; OKLCH L 61.0% C 0.184 H 332.7°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#C050B2
RGBrgb(192, 80, 178)
HSLhsl(308, 47%, 53%)
HSVhsv(308, 58%, 75%)
CMYKcmyk(0%, 58.3%, 7.3%, 24.7%)
CIE-LABlab(52.02, 56.97, -30.91)
CIE-LCHlch(52.02, 64.81, 331.52°)
OKLaboklab(61.01% 0.1635 -0.0844)
OKLCHoklch(61.01% 0.184 332.7)
XYZxyz(32.6428, 20.1605, 44.2829)
Luminance0.2016 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C050B2 #50C05E
analogous
#9650C0 #C050B2 #C0507A
triadic
#C050B2 #B2C050 #50B2C0
tetradic
#C050B2 #C09650 #50C05E #507AC0
square
#C050B2 #C09650 #50C05E #507AC0
split-complementary
#C050B2 #7AC050 #50C096
monochromatic
#6E2865 #9B388F #C050B2 #D07DC6 #E0AADA

Accessibility & contrast

On white

4.17
#C050B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#C050B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C050B2
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C050B2#FFFFFF#000000##000000
##C050B21.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D72B5
Deuteranopia (green-blind)
#7082AF
Tritanopia (blue-blind)
#C8597A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c050b2;
/* rgb */ color: rgb(192, 80, 178);
/* oklch */ color: oklch(61.0% 0.184 332.7);
Tailwind
colors: {
  custom: {
    50: '#d687c9',
    500: '#c050b2',
    950: '#000000',
  },
}
SCSS
$custom: #c050b2;
$custom-light: #d687c9;
$custom-dark: #000000;
JSON
{
  "hex": "#c050b2",
  "rgb": {
    "r": 192,
    "g": 80,
    "b": 178
  },
  "hsl": {
    "h": 307.5,
    "s": 47.059,
    "l": 53.333
  },
  "oklch": {
    "l": 0.61012,
    "c": 0.18398,
    "h": 332.7
  },
  "luminance": 0.20158
}

Semantic roles & 50–950 ramp

primary
#C050B2
secondary
#9ECEA4
accent
#D76251
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C13
muted
#837D82

Preview Lab

Preview with #C050B2

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

Preview Lab → · Contrast checker → · Palette generator →

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