#C125B2#C125B2

#C125B2 is a mid, highly saturated purple. Relative luminance 0.159; OKLCH L 57.3% C 0.234 H 332.7°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#C125B2
RGBrgb(193, 37, 178)
HSLhsl(306, 68%, 45%)
HSVhsv(306, 81%, 76%)
CMYKcmyk(0%, 80.8%, 7.8%, 24.3%)
CIE-LABlab(46.81, 72.27, -39.07)
CIE-LCHlch(46.81, 82.16, 331.61°)
OKLaboklab(57.28% 0.2084 -0.1075)
OKLCHoklch(57.28% 0.235 332.7)
XYZxyz(30.6899, 15.8776, 43.5592)
Luminance0.1588 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C125B2 #25C134
analogous
#8225C1 #C125B2 #C12564
triadic
#C125B2 #B2C125 #25B2C1
tetradic
#C125B2 #C18225 #25C134 #2564C1
square
#C125B2 #C18225 #25C134 #2564C1
split-complementary
#C125B2 #64C125 #25C182
monochromatic
#5A1153 #8E1B83 #C125B2 #DC47CE #E67BDB

Accessibility & contrast

On white

5.03
#C125B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#C125B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C125B2
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C125B2#FFFFFF#000000##FFFFFF
##C125B21.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1961B6
Deuteranopia (green-blind)
#5D77AE
Tritanopia (blue-blind)
#CA396C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #c125b2;
/* rgb */ color: rgb(193, 37, 178);
/* oklch */ color: oklch(57.3% 0.234 332.7);
Tailwind
colors: {
  custom: {
    50: '#d874c9',
    500: '#c125b2',
    950: '#000000',
  },
}
SCSS
$custom: #c125b2;
$custom-light: #d874c9;
$custom-dark: #000000;
JSON
{
  "hex": "#c125b2",
  "rgb": {
    "r": 193,
    "g": 37,
    "b": 178
  },
  "hsl": {
    "h": 305.769,
    "s": 67.826,
    "l": 45.098
  },
  "oklch": {
    "l": 0.57278,
    "c": 0.2345,
    "h": 332.7
  },
  "luminance": 0.15875
}

Semantic roles & 50–950 ramp

primary
#C125B2
secondary
#74CE7D
accent
#EB4E3D
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150913
muted
#837B82

Preview Lab

Preview with #C125B2

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

Preview Lab → · Contrast checker → · Palette generator →

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