#C124B9#C124B9

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

Color values

HEX#C124B9
RGBrgb(193, 36, 185)
HSLhsl(303, 69%, 45%)
HSVhsv(303, 81%, 76%)
CMYKcmyk(0%, 81.3%, 4.1%, 24.3%)
CIE-LABlab(47.11, 73.54, -42.71)
CIE-LCHlch(47.11, 85.04, 329.86°)
OKLaboklab(57.61% 0.2091 -0.118)
OKLCHoklch(57.61% 0.24 330.6)
XYZxyz(31.3801, 16.1046, 47.3453)
Luminance0.1610 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C124B9 #24C12C
analogous
#7A24C1 #C124B9 #C1246B
triadic
#C124B9 #B9C124 #24B9C1
tetradic
#C124B9 #C17A24 #24C12C #246BC1
square
#C124B9 #C17A24 #24C12C #246BC1
split-complementary
#C124B9 #6BC124 #24C17A
monochromatic
#5A1156 #8D1A88 #C124B9 #DC46D5 #E679E1

Accessibility & contrast

On white

4.98
#C124B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#C124B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C124B9
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C124B9#FFFFFF#000000##FFFFFF
##C124B91.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0162BD
Deuteranopia (green-blind)
#5977B5
Tritanopia (blue-blind)
#C93D70
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c124b9;
/* rgb */ color: rgb(193, 36, 185);
/* oklch */ color: oklch(57.6% 0.240 330.6);
Tailwind
colors: {
  custom: {
    50: '#d874ce',
    500: '#c124b9',
    950: '#000000',
  },
}
SCSS
$custom: #c124b9;
$custom-light: #d874ce;
$custom-dark: #000000;
JSON
{
  "hex": "#c124b9",
  "rgb": {
    "r": 193,
    "g": 36,
    "b": 185
  },
  "hsl": {
    "h": 303.057,
    "s": 68.559,
    "l": 44.902
  },
  "oklch": {
    "l": 0.57612,
    "c": 0.24009,
    "h": 330.6
  },
  "luminance": 0.16102
}

Semantic roles & 50–950 ramp

primary
#C124B9
secondary
#73CE78
accent
#EB453C
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150914
muted
#837B82

Preview Lab

Preview with #C124B9

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

Preview Lab → · Contrast checker → · Palette generator →

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