#C124B6#C124B6

#C124B6 is a mid, highly saturated purple. Relative luminance 0.160; OKLCH L 57.4% C 0.238 H 331.5°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#C124B6
RGBrgb(193, 36, 182)
HSLhsl(304, 69%, 45%)
HSVhsv(304, 81%, 76%)
CMYKcmyk(0%, 81.3%, 5.7%, 24.3%)
CIE-LABlab(46.95, 73.10, -41.21)
CIE-LCHlch(46.95, 83.91, 330.59°)
OKLaboklab(57.44% 0.2091 -0.1137)
OKLCHoklch(57.44% 0.238 331.5)
XYZxyz(31.0667, 15.9792, 45.6950)
Luminance0.1598 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C124B6 #24C12F
analogous
#7E24C1 #C124B6 #C12467
triadic
#C124B6 #B6C124 #24B6C1
tetradic
#C124B6 #C17E24 #24C12F #2467C1
square
#C124B6 #C17E24 #24C12F #2467C1
split-complementary
#C124B6 #67C124 #24C17E
monochromatic
#5A1155 #8D1A85 #C124B6 #DC46D2 #E679DE

Accessibility & contrast

On white

5.01
#C124B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#C124B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C124B6
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C124B6#FFFFFF#000000##FFFFFF
##C124B61.005.014.205.01
#FFFFFF5.011.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D62BA
Deuteranopia (green-blind)
#5B77B2
Tritanopia (blue-blind)
#C93B6E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #c124b6;
/* rgb */ color: rgb(193, 36, 182);
/* oklch */ color: oklch(57.4% 0.238 331.5);
Tailwind
colors: {
  custom: {
    50: '#d874cc',
    500: '#c124b6',
    950: '#000000',
  },
}
SCSS
$custom: #c124b6;
$custom-light: #d874cc;
$custom-dark: #000000;
JSON
{
  "hex": "#c124b6",
  "rgb": {
    "r": 193,
    "g": 36,
    "b": 182
  },
  "hsl": {
    "h": 304.204,
    "s": 68.559,
    "l": 44.902
  },
  "oklch": {
    "l": 0.57443,
    "c": 0.23802,
    "h": 331.5
  },
  "luminance": 0.15977
}

Semantic roles & 50–950 ramp

primary
#C124B6
secondary
#73CE79
accent
#EB493C
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150913
muted
#837B82

Preview Lab

Preview with #C124B6

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

Preview Lab → · Contrast checker → · Palette generator →

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