#C038AF#C038AF

#C038AF is a mid, highly saturated purple. Relative luminance 0.171; OKLCH L 58.4% C 0.213 H 333.5°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#C038AF
RGBrgb(192, 56, 175)
HSLhsl(308, 55%, 49%)
HSVhsv(308, 71%, 75%)
CMYKcmyk(0%, 70.8%, 8.9%, 24.7%)
CIE-LABlab(48.43, 66.07, -34.77)
CIE-LCHlch(48.43, 74.66, 332.24°)
OKLaboklab(58.35% 0.1911 -0.0953)
OKLCHoklch(58.35% 0.213 333.5)
XYZxyz(30.8905, 17.1325, 42.2291)
Luminance0.1713 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C038AF #38C049
analogous
#8D38C0 #C038AF #C0386B
triadic
#C038AF #AFC038 #38AFC0
tetradic
#C038AF #C08D38 #38C049 #386BC0
square
#C038AF #C08D38 #38C049 #386BC0
split-complementary
#C038AF #6BC038 #38C08D
monochromatic
#611C59 #912A84 #C038AF #D264C4 #DF93D6

Accessibility & contrast

On white

4.74
#C038AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#C038AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C038AF
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C038AF#FFFFFF#000000##FFFFFF
##C038AF1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3466B2
Deuteranopia (green-blind)
#657AAC
Tritanopia (blue-blind)
#C9456F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c038af;
/* rgb */ color: rgb(192, 56, 175);
/* oklch */ color: oklch(58.4% 0.213 333.5);
Tailwind
colors: {
  custom: {
    50: '#d77bc7',
    500: '#c038af',
    950: '#000000',
  },
}
SCSS
$custom: #c038af;
$custom-light: #d77bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#c038af",
  "rgb": {
    "r": 192,
    "g": 56,
    "b": 175
  },
  "hsl": {
    "h": 307.5,
    "s": 54.839,
    "l": 48.627
  },
  "oklch": {
    "l": 0.58354,
    "c": 0.21349,
    "h": 333.5
  },
  "luminance": 0.1713
}

Semantic roles & 50–950 ramp

primary
#C038AF
secondary
#89CB91
accent
#DE5C4A
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C038AF

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

Preview Lab → · Contrast checker → · Palette generator →

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