#C124BB#C124BB

#C124BB is a mid, highly saturated purple. Relative luminance 0.162; OKLCH L 57.7% C 0.241 H 330.0°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#C124BB
RGBrgb(193, 36, 187)
HSLhsl(302, 69%, 45%)
HSVhsv(302, 81%, 76%)
CMYKcmyk(0%, 81.3%, 3.1%, 24.3%)
CIE-LABlab(47.22, 73.84, -43.70)
CIE-LCHlch(47.22, 85.81, 329.38°)
OKLaboklab(57.73% 0.209 -0.1209)
OKLCHoklch(57.73% 0.241 330)
XYZxyz(31.5927, 16.1896, 48.4651)
Luminance0.1619 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C124BB #24C12A
analogous
#7924C1 #C124BB #C1246D
triadic
#C124BB #BBC124 #24BBC1
tetradic
#C124BB #C17924 #24C12A #246DC1
square
#C124BB #C17924 #24C12A #246DC1
split-complementary
#C124BB #6DC124 #24C179
monochromatic
#5A1157 #8D1A89 #C124BB #DC46D7 #E679E2

Accessibility & contrast

On white

4.96
#C124BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#C124BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C124BB
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C124BB#FFFFFF#000000##FFFFFF
##C124BB1.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063BF
Deuteranopia (green-blind)
#5877B7
Tritanopia (blue-blind)
#C83E71
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c124bb;
/* rgb */ color: rgb(193, 36, 187);
/* oklch */ color: oklch(57.7% 0.241 330.0);
Tailwind
colors: {
  custom: {
    50: '#d874d0',
    500: '#c124bb',
    950: '#000000',
  },
}
SCSS
$custom: #c124bb;
$custom-light: #d874d0;
$custom-dark: #000000;
JSON
{
  "hex": "#c124bb",
  "rgb": {
    "r": 193,
    "g": 36,
    "b": 187
  },
  "hsl": {
    "h": 302.293,
    "s": 68.559,
    "l": 44.902
  },
  "oklch": {
    "l": 0.57727,
    "c": 0.24148,
    "h": 330
  },
  "luminance": 0.16187
}

Semantic roles & 50–950 ramp

primary
#C124BB
secondary
#73CE76
accent
#EB433C
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A14
muted
#837C82

Preview Lab

Preview with #C124BB

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

Preview Lab → · Contrast checker → · Palette generator →

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