#CF38AD#CF38AD

#CF38AD is a mid, highly saturated pink. Relative luminance 0.191; OKLCH L 60.5% C 0.221 H 338.6°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#CF38AD
RGBrgb(207, 56, 173)
HSLhsl(314, 61%, 52%)
HSVhsv(314, 73%, 81%)
CMYKcmyk(0%, 72.9%, 16.4%, 18.8%)
CIE-LABlab(50.82, 69.30, -29.67)
CIE-LCHlch(50.82, 75.39, 336.82°)
OKLaboklab(60.53% 0.2055 -0.0804)
OKLCHoklch(60.53% 0.221 338.6)
XYZxyz(34.6899, 19.1142, 41.3895)
Luminance0.1911 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF38AD #38CF5A
analogous
#A638CF #CF38AD #CF3862
triadic
#CF38AD #ADCF38 #38ADCF
tetradic
#CF38AD #CFA638 #38CF5A #3862CF
square
#CF38AD #CFA638 #38CF5A #3862CF
split-complementary
#CF38AD #62CF38 #38CFA6
monochromatic
#711B5E #A32787 #CF38AD #DB69C1 #E79BD6

Accessibility & contrast

On white

4.35
#CF38AD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#CF38AD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF38AD
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF38AD#FFFFFF#000000##000000
##CF38AD1.004.354.824.82
#FFFFFF4.351.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#406AB0
Deuteranopia (green-blind)
#7281A9
Tritanopia (blue-blind)
#DB3F6E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cf38ad;
/* rgb */ color: rgb(207, 56, 173);
/* oklch */ color: oklch(60.5% 0.221 338.6);
Tailwind
colors: {
  custom: {
    50: '#e27dc5',
    500: '#cf38ad',
    950: '#000000',
  },
}
SCSS
$custom: #cf38ad;
$custom-light: #e27dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#cf38ad",
  "rgb": {
    "r": 207,
    "g": 56,
    "b": 173
  },
  "hsl": {
    "h": 313.51,
    "s": 61.134,
    "l": 51.569
  },
  "oklch": {
    "l": 0.60526,
    "c": 0.2207,
    "h": 338.6
  },
  "luminance": 0.19111
}

Semantic roles & 50–950 ramp

primary
#CF38AD
secondary
#90D39F
accent
#E46844
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CF38AD

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

Preview Lab → · Contrast checker → · Palette generator →

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