#C138A7#C138A7

#C138A7 is a mid, highly saturated pink. Relative luminance 0.170; OKLCH L 58.1% C 0.208 H 336.6°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#C138A7
RGBrgb(193, 56, 167)
HSLhsl(311, 55%, 49%)
HSVhsv(311, 71%, 76%)
CMYKcmyk(0%, 71%, 13.5%, 24.3%)
CIE-LABlab(48.21, 65.11, -30.39)
CIE-LCHlch(48.21, 71.85, 334.98°)
OKLaboklab(58.1% 0.1913 -0.0827)
OKLCHoklch(58.1% 0.208 336.6)
XYZxyz(30.3820, 16.9586, 38.2249)
Luminance0.1696 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C138A7 #38C152
analogous
#9738C1 #C138A7 #C13863
triadic
#C138A7 #A7C138 #38A7C1
tetradic
#C138A7 #C19738 #38C152 #3863C1
square
#C138A7 #C19738 #38C152 #3863C1
split-complementary
#C138A7 #63C138 #38C197
monochromatic
#621C55 #922A7E #C138A7 #D264BD #E094D1

Accessibility & contrast

On white

4.78
#C138A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#C138A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C138A7
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C138A7#FFFFFF#000000##FFFFFF
##C138A71.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B65AA
Deuteranopia (green-blind)
#697AA4
Tritanopia (blue-blind)
#CB406B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c138a7;
/* rgb */ color: rgb(193, 56, 167);
/* oklch */ color: oklch(58.1% 0.208 336.6);
Tailwind
colors: {
  custom: {
    50: '#d77bc1',
    500: '#c138a7',
    950: '#000000',
  },
}
SCSS
$custom: #c138a7;
$custom-light: #d77bc1;
$custom-dark: #000000;
JSON
{
  "hex": "#c138a7",
  "rgb": {
    "r": 193,
    "g": 56,
    "b": 167
  },
  "hsl": {
    "h": 311.387,
    "s": 55.02,
    "l": 48.824
  },
  "oklch": {
    "l": 0.58102,
    "c": 0.2084,
    "h": 336.6
  },
  "luminance": 0.16956
}

Semantic roles & 50–950 ramp

primary
#C138A7
secondary
#8ACB96
accent
#DE6649
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C138A7

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

Preview Lab → · Contrast checker → · Palette generator →

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