#C124AF#C124AF

#C124AF is a mid, highly saturated purple. Relative luminance 0.157; OKLCH L 57.1% C 0.233 H 333.7°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#C124AF
RGBrgb(193, 36, 175)
HSLhsl(307, 69%, 45%)
HSVhsv(307, 81%, 76%)
CMYKcmyk(0%, 81.3%, 9.3%, 24.3%)
CIE-LABlab(46.57, 72.08, -37.68)
CIE-LCHlch(46.57, 81.33, 332.40°)
OKLaboklab(57.06% 0.2091 -0.1035)
OKLCHoklch(57.06% 0.233 333.7)
XYZxyz(30.3613, 15.6971, 41.9799)
Luminance0.1569 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C124AF #24C136
analogous
#8524C1 #C124AF #C12461
triadic
#C124AF #AFC124 #24AFC1
tetradic
#C124AF #C18524 #24C136 #2461C1
square
#C124AF #C18524 #24C136 #2461C1
split-complementary
#C124AF #61C124 #24C185
monochromatic
#5A1151 #8D1A80 #C124AF #DC46CB #E679DA

Accessibility & contrast

On white

5.07
#C124AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#C124AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C124AF
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C124AF#FFFFFF#000000##FFFFFF
##C124AF1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D60B3
Deuteranopia (green-blind)
#5F76AB
Tritanopia (blue-blind)
#CA376A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #c124af;
/* rgb */ color: rgb(193, 36, 175);
/* oklch */ color: oklch(57.1% 0.233 333.7);
Tailwind
colors: {
  custom: {
    50: '#d873c7',
    500: '#c124af',
    950: '#000000',
  },
}
SCSS
$custom: #c124af;
$custom-light: #d873c7;
$custom-dark: #000000;
JSON
{
  "hex": "#c124af",
  "rgb": {
    "r": 193,
    "g": 36,
    "b": 175
  },
  "hsl": {
    "h": 306.879,
    "s": 68.559,
    "l": 44.902
  },
  "oklch": {
    "l": 0.57057,
    "c": 0.23326,
    "h": 333.7
  },
  "luminance": 0.15694
}

Semantic roles & 50–950 ramp

primary
#C124AF
secondary
#73CE7D
accent
#EB503C
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150913
muted
#837B82

Preview Lab

Preview with #C124AF

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

Preview Lab → · Contrast checker → · Palette generator →

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