#C124B8#C124B8

#C124B8 is a mid, highly saturated purple. Relative luminance 0.161; OKLCH L 57.6% C 0.239 H 330.9°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#C124B8
RGBrgb(193, 36, 184)
HSLhsl(303, 69%, 45%)
HSVhsv(303, 81%, 76%)
CMYKcmyk(0%, 81.3%, 4.7%, 24.3%)
CIE-LABlab(47.06, 73.39, -42.21)
CIE-LCHlch(47.06, 84.66, 330.10°)
OKLaboklab(57.56% 0.2091 -0.1166)
OKLCHoklch(57.56% 0.239 330.9)
XYZxyz(31.2749, 16.0625, 46.7913)
Luminance0.1606 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C124B8 #24C12D
analogous
#7B24C1 #C124B8 #C1246A
triadic
#C124B8 #B8C124 #24B8C1
tetradic
#C124B8 #C17B24 #24C12D #246AC1
square
#C124B8 #C17B24 #24C12D #246AC1
split-complementary
#C124B8 #6AC124 #24C17B
monochromatic
#5A1156 #8D1A87 #C124B8 #DC46D4 #E679E0

Accessibility & contrast

On white

4.99
#C124B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#C124B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C124B8
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C124B8#FFFFFF#000000##FFFFFF
##C124B81.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0562BC
Deuteranopia (green-blind)
#5A77B4
Tritanopia (blue-blind)
#C93C6F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c124b8;
/* rgb */ color: rgb(193, 36, 184);
/* oklch */ color: oklch(57.6% 0.239 330.9);
Tailwind
colors: {
  custom: {
    50: '#d874ce',
    500: '#c124b8',
    950: '#000000',
  },
}
SCSS
$custom: #c124b8;
$custom-light: #d874ce;
$custom-dark: #000000;
JSON
{
  "hex": "#c124b8",
  "rgb": {
    "r": 193,
    "g": 36,
    "b": 184
  },
  "hsl": {
    "h": 303.439,
    "s": 68.559,
    "l": 44.902
  },
  "oklch": {
    "l": 0.57555,
    "c": 0.23939,
    "h": 330.9
  },
  "luminance": 0.1606
}

Semantic roles & 50–950 ramp

primary
#C124B8
secondary
#73CE78
accent
#EB463C
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150913
muted
#837B82

Preview Lab

Preview with #C124B8

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

Preview Lab → · Contrast checker → · Palette generator →

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