#CB427F#CB427F

#CB427F is a mid, vivid pink. Relative luminance 0.181; OKLCH L 59.0% C 0.181 H 356.8°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#CB427F
RGBrgb(203, 66, 127)
HSLhsl(333, 57%, 53%)
HSVhsv(333, 67%, 80%)
CMYKcmyk(0%, 67.5%, 37.4%, 20.4%)
CIE-LABlab(49.65, 58.99, -4.12)
CIE-LCHlch(49.65, 59.14, 356.01°)
OKLaboklab(58.97% 0.1806 -0.0101)
OKLCHoklch(58.97% 0.181 356.8)
XYZxyz(30.4095, 18.1288, 21.9724)
Luminance0.1812 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB427F #42CB8E
analogous
#CB42C3 #CB427F #CB4A42
triadic
#CB427F #7FCB42 #427FCB
tetradic
#CB427F #C3CB42 #42CB8E #4A42CB
square
#CB427F #C3CB42 #42CB8E #4A42CB
split-complementary
#CB427F #42CB4A #42C3CB
monochromatic
#732045 #A32D61 #CB427F #D872A0 #E5A2C0

Accessibility & contrast

On white

4.54
#CB427F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#CB427F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB427F
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB427F#FFFFFF#000000##000000
##CB427F1.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B6681
Deuteranopia (green-blind)
#817F7C
Tritanopia (blue-blind)
#DB355B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cb427f;
/* rgb */ color: rgb(203, 66, 127);
/* oklch */ color: oklch(59.0% 0.181 356.8);
Tailwind
colors: {
  custom: {
    50: '#df80a4',
    500: '#cb427f',
    950: '#000000',
  },
}
SCSS
$custom: #cb427f;
$custom-light: #df80a4;
$custom-dark: #000000;
JSON
{
  "hex": "#cb427f",
  "rgb": {
    "r": 203,
    "g": 66,
    "b": 127
  },
  "hsl": {
    "h": 333.285,
    "s": 56.846,
    "l": 52.745
  },
  "oklch": {
    "l": 0.58969,
    "c": 0.1809,
    "h": 356.8
  },
  "luminance": 0.18125
}

Semantic roles & 50–950 ramp

primary
#CB427F
secondary
#97D2B8
accent
#E09C48
background
#FEF8FA
surface
#FDEFF3
border
#D5CACD
text
#160B0F
muted
#847C7F

Preview Lab

Preview with #CB427F

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

Preview Lab → · Contrast checker → · Palette generator →

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