#C242BB#C242BB

#C242BB is a mid, highly saturated purple. Relative luminance 0.190; OKLCH L 60.2% C 0.212 H 330.1°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#C242BB
RGBrgb(194, 66, 187)
HSLhsl(303, 51%, 51%)
HSVhsv(303, 66%, 76%)
CMYKcmyk(0%, 66%, 3.6%, 23.9%)
CIE-LABlab(50.64, 64.79, -38.29)
CIE-LCHlch(50.64, 75.25, 329.42°)
OKLaboklab(60.21% 0.1834 -0.1054)
OKLCHoklch(60.21% 0.212 330.1)
XYZxyz(33.1658, 18.9560, 48.9161)
Luminance0.1895 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C242BB #42C249
analogous
#8942C2 #C242BB #C2427B
triadic
#C242BB #BBC242 #42BBC2
tetradic
#C242BB #C28942 #42C249 #427BC2
square
#C242BB #C28942 #42C249 #427BC2
split-complementary
#C242BB #7BC242 #42C289
monochromatic
#682264 #963191 #C242BB #D170CC #E09FDC

Accessibility & contrast

On white

4.38
#C242BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#C242BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C242BB
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C242BB#FFFFFF#000000##000000
##C242BB1.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#376DBF
Deuteranopia (green-blind)
#667FB8
Tritanopia (blue-blind)
#C95179
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #c242bb;
/* rgb */ color: rgb(194, 66, 187);
/* oklch */ color: oklch(60.2% 0.212 330.1);
Tailwind
colors: {
  custom: {
    50: '#d880d0',
    500: '#c242bb',
    950: '#000000',
  },
}
SCSS
$custom: #c242bb;
$custom-light: #d880d0;
$custom-dark: #000000;
JSON
{
  "hex": "#c242bb",
  "rgb": {
    "r": 194,
    "g": 66,
    "b": 187
  },
  "hsl": {
    "h": 303.281,
    "s": 51.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.60205,
    "c": 0.21158,
    "h": 330.1
  },
  "luminance": 0.18954
}

Semantic roles & 50–950 ramp

primary
#C242BB
secondary
#94CC97
accent
#DB554D
background
#FDF8FC
surface
#FBEFF9
border
#D4CAD2
text
#150B14
muted
#837C82

Preview Lab

Preview with #C242BB

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

Preview Lab → · Contrast checker → · Palette generator →

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