#C138A5#C138A5

#C138A5 is a mid, highly saturated pink. Relative luminance 0.169; OKLCH L 58.0% C 0.207 H 337.4°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#C138A5
RGBrgb(193, 56, 165)
HSLhsl(312, 55%, 49%)
HSVhsv(312, 71%, 76%)
CMYKcmyk(0%, 71%, 14.5%, 24.3%)
CIE-LABlab(48.12, 64.82, -29.35)
CIE-LCHlch(48.12, 71.16, 335.64°)
OKLaboklab(58.01% 0.1911 -0.0797)
OKLCHoklch(58.01% 0.207 337.4)
XYZxyz(30.1986, 16.8852, 37.2587)
Luminance0.1688 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C138A5 #38C154
analogous
#9938C1 #C138A5 #C13861
triadic
#C138A5 #A5C138 #38A5C1
tetradic
#C138A5 #C19938 #38C154 #3861C1
square
#C138A5 #C19938 #38C154 #3861C1
split-complementary
#C138A5 #61C138 #38C199
monochromatic
#621C54 #922A7C #C138A5 #D264BC #E094D0

Accessibility & contrast

On white

4.80
#C138A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#C138A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C138A5
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C138A5#FFFFFF#000000##FFFFFF
##C138A51.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C65A8
Deuteranopia (green-blind)
#6A7AA2
Tritanopia (blue-blind)
#CB406A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c138a5;
/* rgb */ color: rgb(193, 56, 165);
/* oklch */ color: oklch(58.0% 0.207 337.4);
Tailwind
colors: {
  custom: {
    50: '#d77bc0',
    500: '#c138a5',
    950: '#000000',
  },
}
SCSS
$custom: #c138a5;
$custom-light: #d77bc0;
$custom-dark: #000000;
JSON
{
  "hex": "#c138a5",
  "rgb": {
    "r": 193,
    "g": 56,
    "b": 165
  },
  "hsl": {
    "h": 312.263,
    "s": 55.02,
    "l": 48.824
  },
  "oklch": {
    "l": 0.58005,
    "c": 0.20703,
    "h": 337.4
  },
  "luminance": 0.16882
}

Semantic roles & 50–950 ramp

primary
#C138A5
secondary
#8ACB97
accent
#DE6849
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C138A5

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

Preview Lab → · Contrast checker → · Palette generator →

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