#C940B0#C940B0

#C940B0 is a mid, highly saturated pink. Relative luminance 0.192; OKLCH L 60.5% C 0.210 H 336.0°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#C940B0
RGBrgb(201, 64, 176)
HSLhsl(311, 56%, 52%)
HSVhsv(311, 68%, 79%)
CMYKcmyk(0%, 68.2%, 12.4%, 21.2%)
CIE-LABlab(50.95, 65.53, -31.31)
CIE-LCHlch(50.95, 72.63, 334.46°)
OKLaboklab(60.47% 0.1918 -0.0852)
OKLCHoklch(60.47% 0.21 336)
XYZxyz(33.7577, 19.2218, 42.9981)
Luminance0.1922 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C940B0 #40C959
analogous
#9E40C9 #C940B0 #C9406C
triadic
#C940B0 #B0C940 #40B0C9
tetradic
#C940B0 #C99E40 #40C959 #406CC9
square
#C940B0 #C99E40 #40C959 #406CC9
split-complementary
#C940B0 #6CC940 #40C99E
monochromatic
#6F1F61 #9F2D8A #C940B0 #D670C4 #E49FD7

Accessibility & contrast

On white

4.34
#C940B0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#C940B0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C940B0
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C940B0#FFFFFF#000000##000000
##C940B01.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#426CB3
Deuteranopia (green-blind)
#6F81AD
Tritanopia (blue-blind)
#D34973
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #c940b0;
/* rgb */ color: rgb(201, 64, 176);
/* oklch */ color: oklch(60.5% 0.210 336.0);
Tailwind
colors: {
  custom: {
    50: '#dd80c8',
    500: '#c940b0',
    950: '#000000',
  },
}
SCSS
$custom: #c940b0;
$custom-light: #dd80c8;
$custom-dark: #000000;
JSON
{
  "hex": "#c940b0",
  "rgb": {
    "r": 201,
    "g": 64,
    "b": 176
  },
  "hsl": {
    "h": 310.949,
    "s": 55.918,
    "l": 51.961
  },
  "oklch": {
    "l": 0.60473,
    "c": 0.20992,
    "h": 336
  },
  "luminance": 0.19219
}

Semantic roles & 50–950 ramp

primary
#C940B0
secondary
#94D09F
accent
#DF6449
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #C940B0

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

Preview Lab → · Contrast checker → · Palette generator →

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