#C125BA#C125BA

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

Color values

HEX#C125BA
RGBrgb(193, 37, 186)
HSLhsl(303, 68%, 45%)
HSVhsv(303, 81%, 76%)
CMYKcmyk(0%, 80.8%, 3.6%, 24.3%)
CIE-LABlab(47.25, 73.46, -43.08)
CIE-LCHlch(47.25, 85.16, 329.61°)
OKLaboklab(57.73% 0.2084 -0.1191)
OKLCHoklch(57.73% 0.24 330.2)
XYZxyz(31.5167, 16.2083, 47.9135)
Luminance0.1621 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C125BA #25C12C
analogous
#7A25C1 #C125BA #C1256C
triadic
#C125BA #BAC125 #25BAC1
tetradic
#C125BA #C17A25 #25C12C #256CC1
square
#C125BA #C17A25 #25C12C #256CC1
split-complementary
#C125BA #6CC125 #25C17A
monochromatic
#5A1157 #8E1B89 #C125BA #DC47D5 #E67BE1

Accessibility & contrast

On white

4.95
#C125BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#C125BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C125BA
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C125BA#FFFFFF#000000##FFFFFF
##C125BA1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c125ba;
/* rgb */ color: rgb(193, 37, 186);
/* oklch */ color: oklch(57.7% 0.240 330.2);
Tailwind
colors: {
  custom: {
    50: '#d874cf',
    500: '#c125ba',
    950: '#000000',
  },
}
SCSS
$custom: #c125ba;
$custom-light: #d874cf;
$custom-dark: #000000;
JSON
{
  "hex": "#c125ba",
  "rgb": {
    "r": 193,
    "g": 37,
    "b": 186
  },
  "hsl": {
    "h": 302.692,
    "s": 67.826,
    "l": 45.098
  },
  "oklch": {
    "l": 0.57726,
    "c": 0.24002,
    "h": 330.2
  },
  "luminance": 0.16206
}

Semantic roles & 50–950 ramp

primary
#C125BA
secondary
#74CE78
accent
#EB453D
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A14
muted
#837C82

Preview Lab

Preview with #C125BA

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

Preview Lab → · Contrast checker → · Palette generator →

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