#CF38AF#CF38AF

#CF38AF is a mid, highly saturated pink. Relative luminance 0.192; OKLCH L 60.6% C 0.222 H 338.0°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#CF38AF
RGBrgb(207, 56, 175)
HSLhsl(313, 61%, 52%)
HSVhsv(313, 73%, 81%)
CMYKcmyk(0%, 72.9%, 15.5%, 18.8%)
CIE-LABlab(50.91, 69.58, -30.70)
CIE-LCHlch(50.91, 76.05, 336.19°)
OKLaboklab(60.62% 0.2058 -0.0833)
OKLCHoklch(60.62% 0.222 338)
XYZxyz(34.8849, 19.1922, 42.4164)
Luminance0.1919 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF38AF #38CF58
analogous
#A438CF #CF38AF #CF3864
triadic
#CF38AF #AFCF38 #38AFCF
tetradic
#CF38AF #CFA438 #38CF58 #3864CF
square
#CF38AF #CFA438 #38CF58 #3864CF
split-complementary
#CF38AF #64CF38 #38CFA4
monochromatic
#711B5F #A32788 #CF38AF #DB69C3 #E79BD7

Accessibility & contrast

On white

4.34
#CF38AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#CF38AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF38AF
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF38AF#FFFFFF#000000##000000
##CF38AF1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E6AB2
Deuteranopia (green-blind)
#7182AB
Tritanopia (blue-blind)
#DA4070
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cf38af;
/* rgb */ color: rgb(207, 56, 175);
/* oklch */ color: oklch(60.6% 0.222 338.0);
Tailwind
colors: {
  custom: {
    50: '#e27dc7',
    500: '#cf38af',
    950: '#000000',
  },
}
SCSS
$custom: #cf38af;
$custom-light: #e27dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#cf38af",
  "rgb": {
    "r": 207,
    "g": 56,
    "b": 175
  },
  "hsl": {
    "h": 312.715,
    "s": 61.134,
    "l": 51.569
  },
  "oklch": {
    "l": 0.60621,
    "c": 0.22201,
    "h": 338
  },
  "luminance": 0.19189
}

Semantic roles & 50–950 ramp

primary
#CF38AF
secondary
#90D39E
accent
#E46644
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CF38AF

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

Preview Lab → · Contrast checker → · Palette generator →

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