#C124B7#C124B7

#C124B7 is a mid, highly saturated purple. Relative luminance 0.160; OKLCH L 57.5% C 0.239 H 331.2°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#C124B7
RGBrgb(193, 36, 183)
HSLhsl(304, 69%, 45%)
HSVhsv(304, 81%, 76%)
CMYKcmyk(0%, 81.3%, 5.2%, 24.3%)
CIE-LABlab(47.00, 73.24, -41.71)
CIE-LCHlch(47.00, 84.29, 330.34°)
OKLaboklab(57.5% 0.2091 -0.1151)
OKLCHoklch(57.5% 0.239 331.2)
XYZxyz(31.1704, 16.0207, 46.2412)
Luminance0.1602 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C124B7 #24C12E
analogous
#7D24C1 #C124B7 #C12468
triadic
#C124B7 #B7C124 #24B7C1
tetradic
#C124B7 #C17D24 #24C12E #2468C1
square
#C124B7 #C17D24 #24C12E #2468C1
split-complementary
#C124B7 #68C124 #24C17D
monochromatic
#5A1155 #8D1A86 #C124B7 #DC46D3 #E679DF

Accessibility & contrast

On white

5.00
#C124B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C124B7
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C124B7#FFFFFF#000000##FFFFFF
##C124B71.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0962BB
Deuteranopia (green-blind)
#5A77B3
Tritanopia (blue-blind)
#C93C6F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #c124b7;
/* rgb */ color: rgb(193, 36, 183);
/* oklch */ color: oklch(57.5% 0.239 331.2);
Tailwind
colors: {
  custom: {
    50: '#d874cd',
    500: '#c124b7',
    950: '#000000',
  },
}
SCSS
$custom: #c124b7;
$custom-light: #d874cd;
$custom-dark: #000000;
JSON
{
  "hex": "#c124b7",
  "rgb": {
    "r": 193,
    "g": 36,
    "b": 183
  },
  "hsl": {
    "h": 303.822,
    "s": 68.559,
    "l": 44.902
  },
  "oklch": {
    "l": 0.57499,
    "c": 0.2387,
    "h": 331.2
  },
  "luminance": 0.16018
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C124B7

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

Preview Lab → · Contrast checker → · Palette generator →

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