#C124BD#C124BD

#C124BD is a mid, highly saturated purple. Relative luminance 0.163; OKLCH L 57.8% C 0.243 H 329.4°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#C124BD
RGBrgb(193, 36, 189)
HSLhsl(302, 69%, 45%)
HSVhsv(302, 81%, 76%)
CMYKcmyk(0%, 81.3%, 2.1%, 24.3%)
CIE-LABlab(47.33, 74.15, -44.69)
CIE-LCHlch(47.33, 86.57, 328.92°)
OKLaboklab(57.84% 0.209 -0.1238)
OKLCHoklch(57.84% 0.243 329.4)
XYZxyz(31.8083, 16.2759, 49.6005)
Luminance0.1627 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C124BD #24C128
analogous
#7724C1 #C124BD #C1246E
triadic
#C124BD #BDC124 #24BDC1
tetradic
#C124BD #C17724 #24C128 #246EC1
square
#C124BD #C17724 #24C128 #246EC1
split-complementary
#C124BD #6EC124 #24C177
monochromatic
#5A1158 #8D1A8A #C124BD #DC46D9 #E679E3

Accessibility & contrast

On white

4.94
#C124BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#C124BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C124BD
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C124BD#FFFFFF#000000##FFFFFF
##C124BD1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C1
Deuteranopia (green-blind)
#5777B9
Tritanopia (blue-blind)
#C83F72
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c124bd;
/* rgb */ color: rgb(193, 36, 189);
/* oklch */ color: oklch(57.8% 0.243 329.4);
Tailwind
colors: {
  custom: {
    50: '#d874d1',
    500: '#c124bd',
    950: '#000000',
  },
}
SCSS
$custom: #c124bd;
$custom-light: #d874d1;
$custom-dark: #000000;
JSON
{
  "hex": "#c124bd",
  "rgb": {
    "r": 193,
    "g": 36,
    "b": 189
  },
  "hsl": {
    "h": 301.529,
    "s": 68.559,
    "l": 44.902
  },
  "oklch": {
    "l": 0.57842,
    "c": 0.24287,
    "h": 329.4
  },
  "luminance": 0.16273
}

Semantic roles & 50–950 ramp

primary
#C124BD
secondary
#73CE75
accent
#EB413C
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A14
muted
#837C82

Preview Lab

Preview with #C124BD

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

Preview Lab → · Contrast checker → · Palette generator →

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