#C138A9#C138A9

#C138A9 is a mid, highly saturated pink. Relative luminance 0.170; OKLCH L 58.2% C 0.210 H 335.9°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#C138A9
RGBrgb(193, 56, 169)
HSLhsl(311, 55%, 49%)
HSVhsv(311, 71%, 76%)
CMYKcmyk(0%, 71%, 12.4%, 24.3%)
CIE-LABlab(48.30, 65.41, -31.42)
CIE-LCHlch(48.30, 72.56, 334.34°)
OKLaboklab(58.2% 0.1915 -0.0856)
OKLCHoklch(58.2% 0.21 335.9)
XYZxyz(30.5684, 17.0331, 39.2062)
Luminance0.1703 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C138A9 #38C150
analogous
#9538C1 #C138A9 #C13865
triadic
#C138A9 #A9C138 #38A9C1
tetradic
#C138A9 #C19538 #38C150 #3865C1
square
#C138A9 #C19538 #38C150 #3865C1
split-complementary
#C138A9 #65C138 #38C195
monochromatic
#621C56 #922A7F #C138A9 #D264BF #E094D2

Accessibility & contrast

On white

4.77
#C138A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#C138A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C138A9
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C138A9#FFFFFF#000000##FFFFFF
##C138A91.004.774.414.77
#FFFFFF4.771.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3966AC
Deuteranopia (green-blind)
#687AA6
Tritanopia (blue-blind)
#CB416C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c138a9;
/* rgb */ color: rgb(193, 56, 169);
/* oklch */ color: oklch(58.2% 0.210 335.9);
Tailwind
colors: {
  custom: {
    50: '#d77bc3',
    500: '#c138a9',
    950: '#000000',
  },
}
SCSS
$custom: #c138a9;
$custom-light: #d77bc3;
$custom-dark: #000000;
JSON
{
  "hex": "#c138a9",
  "rgb": {
    "r": 193,
    "g": 56,
    "b": 169
  },
  "hsl": {
    "h": 310.511,
    "s": 55.02,
    "l": 48.824
  },
  "oklch": {
    "l": 0.58201,
    "c": 0.20979,
    "h": 335.9
  },
  "luminance": 0.1703
}

Semantic roles & 50–950 ramp

primary
#C138A9
secondary
#8ACB95
accent
#DE6449
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A12
muted
#837C81

Preview Lab

Preview with #C138A9

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

Preview Lab → · Contrast checker → · Palette generator →

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