#C124BA#C124BA

#C124BA is a mid, highly saturated purple. Relative luminance 0.161; OKLCH L 57.7% C 0.241 H 330.2°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#C124BA
RGBrgb(193, 36, 186)
HSLhsl(303, 69%, 45%)
HSVhsv(303, 81%, 76%)
CMYKcmyk(0%, 81.3%, 3.6%, 24.3%)
CIE-LABlab(47.17, 73.69, -43.20)
CIE-LCHlch(47.17, 85.42, 329.62°)
OKLaboklab(57.67% 0.209 -0.1195)
OKLCHoklch(57.67% 0.241 330.2)
XYZxyz(31.4860, 16.1470, 47.9032)
Luminance0.1614 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C124BA #24C12B
analogous
#7924C1 #C124BA #C1246C
triadic
#C124BA #BAC124 #24BAC1
tetradic
#C124BA #C17924 #24C12B #246CC1
square
#C124BA #C17924 #24C12B #246CC1
split-complementary
#C124BA #6CC124 #24C179
monochromatic
#5A1157 #8D1A88 #C124BA #DC46D6 #E679E1

Accessibility & contrast

On white

4.97
#C124BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#C124BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C124BA
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C124BA#FFFFFF#000000##FFFFFF
##C124BA1.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063BE
Deuteranopia (green-blind)
#5977B6
Tritanopia (blue-blind)
#C83D71
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c124ba;
/* rgb */ color: rgb(193, 36, 186);
/* oklch */ color: oklch(57.7% 0.241 330.2);
Tailwind
colors: {
  custom: {
    50: '#d874cf',
    500: '#c124ba',
    950: '#000000',
  },
}
SCSS
$custom: #c124ba;
$custom-light: #d874cf;
$custom-dark: #000000;
JSON
{
  "hex": "#c124ba",
  "rgb": {
    "r": 193,
    "g": 36,
    "b": 186
  },
  "hsl": {
    "h": 302.675,
    "s": 68.559,
    "l": 44.902
  },
  "oklch": {
    "l": 0.57669,
    "c": 0.24078,
    "h": 330.2
  },
  "luminance": 0.16144
}

Semantic roles & 50–950 ramp

primary
#C124BA
secondary
#73CE77
accent
#EB443C
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150914
muted
#837B82

Preview Lab

Preview with #C124BA

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

Preview Lab → · Contrast checker → · Palette generator →

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